Skip to content
Snippets Groups Projects
Commit 8b1f8af4 authored by Andrea Shepard's avatar Andrea Shepard
Browse files

Using _POSIX_C_SOURCE in the middle of a header is incorrect and may work...

Using _POSIX_C_SOURCE in the middle of a header is incorrect and may work unreliably because of multiple-include guards
parent 7aac6b39
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,6 @@ void *tfind(const void *vkey, void * const *vrootp,
int (*compar)(const void *, const void *));
#else
#define _POSIX_C_SOURCE 200809L
#include <search.h>
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment