Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1642)

Unified Diff: newlib/libc/include/sys/signal.h

Issue 79003002: Include more of sys/types.h and sys/signal.h under NaCl (Closed) Base URL: http://git.chromium.org/native_client/nacl-newlib.git@master
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | newlib/libc/include/sys/types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: newlib/libc/include/sys/signal.h
diff --git a/newlib/libc/include/sys/signal.h b/newlib/libc/include/sys/signal.h
index 53a63eac910e2e2bac6efc5c8e252c0979f37c5d..4242481b34571bfb87d315b3bcd5c402b8ad9a9e 100644
--- a/newlib/libc/include/sys/signal.h
+++ b/newlib/libc/include/sys/signal.h
@@ -17,7 +17,7 @@ extern "C" {
typedef unsigned long sigset_t;
#endif
-#if defined(__rtems__)
+#if defined(__rtems__) || defined (__native_client__)
#if defined(_POSIX_REALTIME_SIGNALS)
@@ -117,7 +117,7 @@ struct sigaction
sigset_t sa_mask;
int sa_flags;
};
-#endif /* defined(__rtems__) */
+#endif /* defined(__rtems__) || defined(__native_client__) */
#define SIG_SETMASK 0 /* set mask with sigprocmask() */
#define SIG_BLOCK 1 /* set of signals to block */
« no previous file with comments | « no previous file | newlib/libc/include/sys/types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698