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
parent422743b6ec4bc4b0b2fc3e64281e4262e5e06731 (diff)
* libc/include/sys/signal.h (sigset_t): Don't define when building
for Cygwin.
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/include/sys/signal.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 8f8ed212e..1c44191d0 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-26 Corinna Vinschen <vinschen@redhat.com>
+
+ * libc/include/sys/signal.h (sigset_t): Don't define when building
+ for Cygwin.
+
2012-10-24 Jeff Johnston <jjohnstn@redhat.com>
* configure.in: Comment out the --enable-newlib-fp-hw option
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__)