Skip to content

Commit

Permalink
Define __EXTENSIONS__ on illumos (#498)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbking authored Jul 18, 2023
1 parent 31067e3 commit aa5377b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/roaring/portability.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@
#define _XOPEN_SOURCE 700
#endif // !(defined(_XOPEN_SOURCE)) || (_XOPEN_SOURCE < 700)

#ifdef __illumos__
#define __EXTENSIONS__
#endif

#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h> // will provide posix_memalign with _POSIX_C_SOURCE as defined above
Expand Down

0 comments on commit aa5377b

Please sign in to comment.