Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2012-10-26 13:23:46 +0400
committerCorinna Vinschen <corinna@vinschen.de>2012-10-26 13:23:46 +0400
commitf9b36280101e94f6a6a6066f8342a13416cdea18 (patch)
tree592b4a151100139edbf6c35e896b7c9709da9ec3 /newlib/libc
parent422743b6ec4bc4b0b2fc3e64281e4262e5e06731 (diff)
* libc/include/sys/signal.h (sigset_t): Don't define when building
for Cygwin.
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/include/sys/signal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/signal.h b/newlib/libc/include/sys/signal.h
index 4e3be1ccf..3d6ba0831 100644
--- a/newlib/libc/include/sys/signal.h
+++ b/newlib/libc/include/sys/signal.h
@@ -12,7 +12,10 @@ extern "C" {
/* #ifndef __STRICT_ANSI__*/
+/* Cygwin defines it's own sigset_t in include/cygwin/signal.h */
+#ifndef __CYGWIN__
typedef unsigned long sigset_t;
+#endif
#if defined(__rtems__)