aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoitT <benoit.tremblay@frimastudio.com>2011-10-21 14:23:32 -0300
committerBenoitT <benoit.tremblay@frimastudio.com>2011-10-21 14:23:32 -0300
commitae16fda469ec2db1ebfe4fe22ea090ca75bcddfa (patch)
tree643801f5163c457058cbe5875bffd2848381e14e
parentaa76bb60a1f8bfa8fe848f704ba4d2958d262fb7 (diff)
Removed an anoying warning for macro redefinition
-rw-r--r--system/include/libc/sys/unistd.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/system/include/libc/sys/unistd.h b/system/include/libc/sys/unistd.h
index a4110144..06259b66 100644
--- a/system/include/libc/sys/unistd.h
+++ b/system/include/libc/sys/unistd.h
@@ -302,7 +302,7 @@ int _EXFUN(unlinkat, (int, const char *, int));
#define _SC_PRIORITIZED_IO 28
#define _SC_REALTIME_SIGNALS 29
#define _SC_SEMAPHORES 30
-#define _SC_SHARED_MEMORY_OBJECTS 31
+#define _SC_SHARED_MEMORY_OBJECTS 199 /* XXX Emscripten changed 31 to 199 */
#define _SC_SYNCHRONIZED_IO 32
#define _SC_TIMERS 33
#define _SC_AIO_LISTIO_MAX 34
@@ -406,8 +406,6 @@ int _EXFUN(unlinkat, (int, const char *, int));
#define _SC_THREAD_ROBUST_PRIO_INHERIT 122
#define _SC_THREAD_ROBUST_PRIO_PROTECT 123
#define _SC_XOPEN_UUCP 124
-/* XXX Emscripten */
-#define _SC_SHARED_MEMORY_OBJECTS 199
/*
* pathconf values per IEEE Std 1003.1, 2008 Edition