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

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') | newlib/libc/include/sys/types.h » ('J')
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 da6b2963d802cc2bc5f841eeda41bcf17bceadaa..b6efbbe951945f1bb8ac10dc05f2ef7a2d8c4545 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') | newlib/libc/include/sys/types.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698