Skip to content

Commit 46fc34a

Browse files
authored
let us try removing _XOPEN_SOURCE (#695)
* let us try removing _XOPEN_SOURCE * lint
1 parent 2a6878b commit 46fc34a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

include/roaring/portability.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,11 @@
5656
#ifndef _POSIX_C_SOURCE
5757
#define _POSIX_C_SOURCE 200809L
5858
#endif // !(defined(_POSIX_C_SOURCE)) || (_POSIX_C_SOURCE < 200809L)
59-
#if !(defined(_XOPEN_SOURCE)) || (_XOPEN_SOURCE < 700)
60-
#define _XOPEN_SOURCE 700
61-
#endif // !(defined(_XOPEN_SOURCE)) || (_XOPEN_SOURCE < 700)
6259

6360
#ifdef __illumos__
61+
#ifndef __EXTENSIONS__
6462
#define __EXTENSIONS__
63+
#endif // __EXTENSIONS__
6564
#endif
6665

6766
#include <stdbool.h>

0 commit comments

Comments
 (0)