Skip to content

Commit 829cb8e

Browse files
author
Oleh Kulykov
committed
1738744526
1 parent 8b2c7cd commit 829cb8e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/plzma_private.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,18 +118,21 @@
118118
# define LIBPLZMA_POSIX 1
119119
#endif
120120

121+
121122
#if !defined(LIBPLZMA_POSIX) && defined(_GNU_SOURCE)
122123
// If you define this macro, everything is included: ISO C89, ISO C99, POSIX.1, POSIX.2, BSD, SVID, X/Open, LFS, and GNU extensions.
123124
// In the cases where POSIX.1 conflicts with BSD, the POSIX definitions take precedence.
124125
# define LIBPLZMA_POSIX 1
125126
#endif
126127

128+
127129
#if !defined(LIBPLZMA_POSIX) && defined(_XOPEN_SOURCE)
128130
// If you define this macro, everything is included: ISO C89, ISO C99, POSIX.1, POSIX.2, BSD, SVID, X/Open, LFS, and GNU extensions.
129131
// In the cases where POSIX.1 conflicts with BSD, the POSIX definitions take precedence.
130132
# define LIBPLZMA_POSIX 1
131133
#endif
132134

135+
133136
#if !defined(LIBPLZMA_POSIX) && defined(_DARWIN_C_SOURCE)
134137
# define LIBPLZMA_POSIX 1
135138
#endif
@@ -144,6 +147,7 @@
144147
# endif
145148
#endif // !LIBPLZMA_MINGW
146149

150+
147151
#if !defined(LIBPLZMA_POSIX) && defined(LIBPLZMA_MINGW)
148152
# error "Configuration error: MinGW without posix."
149153
#endif

0 commit comments

Comments
 (0)