Skip to content

Commit 4aa7084

Browse files
author
Daniel Lemire
committed
defining the macro _GNU_SOURCE appears to create troubles in some cases.
1 parent bfba029 commit 4aa7084

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

include/roaring/portability.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@
1616
#ifndef CROARING_INCLUDE_PORTABILITY_H_
1717
#define CROARING_INCLUDE_PORTABILITY_H_
1818

19-
#ifndef _GNU_SOURCE
20-
#define _GNU_SOURCE 1
21-
#endif // _GNU_SOURCE
19+
// Users who need _GNU_SOURCE should define it?
20+
//#ifndef _GNU_SOURCE
21+
//#define _GNU_SOURCE 1
22+
//#endif // _GNU_SOURCE
2223
#ifndef __STDC_FORMAT_MACROS
2324
#define __STDC_FORMAT_MACROS 1
2425
#endif // __STDC_FORMAT_MACROS

0 commit comments

Comments
 (0)