Skip to content

Commit 5941b89

Browse files
committed
trying to remove remaining mysterious defines
1 parent cb167bf commit 5941b89

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

include/roaring/portability.h

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,6 @@
4949
#define CROARING_REGULAR_VISUAL_STUDIO 0
5050
#endif
5151

52-
#if defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE < 200809L)
53-
#undef _POSIX_C_SOURCE
54-
#endif
55-
56-
#ifndef _POSIX_C_SOURCE
57-
#define _POSIX_C_SOURCE 200809L
58-
#endif // !(defined(_POSIX_C_SOURCE)) || (_POSIX_C_SOURCE < 200809L)
59-
60-
#ifdef __illumos__
61-
#ifndef __EXTENSIONS__
62-
#define __EXTENSIONS__
63-
#endif // __EXTENSIONS__
64-
#endif
65-
6652
#include <stdbool.h>
6753
#include <stdint.h>
6854
#include <stdlib.h> // will provide posix_memalign with _POSIX_C_SOURCE as defined above

src/containers/bitset.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
* bitset.c
33
*
44
*/
5-
#ifndef _POSIX_C_SOURCE
6-
#define _POSIX_C_SOURCE 200809L
7-
#endif
85
#include <assert.h>
96
#include <stdio.h>
107
#include <stdlib.h>

0 commit comments

Comments
 (0)