File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
system/lib/libc/musl/include Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ typedef struct __jmp_buf_tag {
20
20
|| defined(_BSD_SOURCE )
21
21
typedef jmp_buf sigjmp_buf ;
22
22
/* XXX EMSCRIPTEN: No signals support, alias sigsetjmp and siglongjmp to their non-signals counterparts. */
23
- #if __EMSCRIPTEN__
23
+ #ifdef __EMSCRIPTEN__
24
24
#define sigsetjmp (buf , x ) setjmp((buf))
25
25
#define siglongjmp (buf , val ) longjmp(buf, val)
26
26
#else
Original file line number Diff line number Diff line change @@ -236,20 +236,20 @@ pid_t gettid(void);
236
236
#define _POSIX_NO_TRUNC 1
237
237
#define _POSIX_RAW_SOCKETS _POSIX_VERSION
238
238
239
- #ifndef __EMSCRIPTEN__
240
- #define _POSIX_REALTIME_SIGNALS _POSIX_VERSION
241
- #else
239
+ #ifdef __EMSCRIPTEN__
242
240
#define _POSIX_REALTIME_SIGNALS -1
241
+ #else
242
+ #define _POSIX_REALTIME_SIGNALS _POSIX_VERSION
243
243
#endif
244
244
245
245
#define _POSIX_REGEXP 1
246
246
#define _POSIX_SAVED_IDS 1
247
247
#define _POSIX_SHELL 1
248
248
249
- #ifndef __EMSCRIPTEN__
250
- #define _POSIX_SPAWN _POSIX_VERSION
251
- #else
249
+ #ifdef __EMSCRIPTEN__
252
250
#define _POSIX_SPAWN -1
251
+ #else
252
+ #define _POSIX_SPAWN _POSIX_VERSION
253
253
#endif
254
254
255
255
#define _POSIX_VDISABLE 0
You can’t perform that action at this time.
0 commit comments