Skip to content

Commit

Permalink
trying to remove remaining mysterious defines
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire committed Feb 27, 2025
1 parent cb167bf commit 5941b89
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
14 changes: 0 additions & 14 deletions include/roaring/portability.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,6 @@
#define CROARING_REGULAR_VISUAL_STUDIO 0
#endif

#if defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE < 200809L)
#undef _POSIX_C_SOURCE
#endif

#ifndef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 200809L
#endif // !(defined(_POSIX_C_SOURCE)) || (_POSIX_C_SOURCE < 200809L)

#ifdef __illumos__
#ifndef __EXTENSIONS__
#define __EXTENSIONS__
#endif // __EXTENSIONS__
#endif

#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h> // will provide posix_memalign with _POSIX_C_SOURCE as defined above
Expand Down
3 changes: 0 additions & 3 deletions src/containers/bitset.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
* bitset.c
*
*/
#ifndef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 200809L
#endif
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
Expand Down

0 comments on commit 5941b89

Please sign in to comment.