aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2008-12-31 04:12:44 +0000
committerChristopher Faylor <me@cgf.cx>2008-12-31 04:12:44 +0000
commit0c94c057a4ffa47915e3864f258dc4a8f760e1e2 (patch)
treed9f58039b72e881c970754a0d9e3bd197bb9f920
parent0b451bb524d7f80e7f7fa3c2284d4daf46ebaaa1 (diff)
downloadnewlib-0c94c057a4ffa47915e3864f258dc4a8f760e1e2.zip
newlib-0c94c057a4ffa47915e3864f258dc4a8f760e1e2.tar.gz
newlib-0c94c057a4ffa47915e3864f258dc4a8f760e1e2.tar.bz2
* include/bits/wordsize.h: New linux-compatibility header.
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/include/bits/wordsize.h6
2 files changed, 10 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 47bf78a..fe69eea 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,9 @@
2008-12-30 Christopher Faylor <me+cygwin@cgf.cx>
+ * include/bits/wordsize.h: New linux-compatibility header.
+
+2008-12-30 Christopher Faylor <me+cygwin@cgf.cx>
+
* exceptions.cc (try_to_debug): Avoid creating a huge buffer on the
stack.
diff --git a/winsup/cygwin/include/bits/wordsize.h b/winsup/cygwin/include/bits/wordsize.h
new file mode 100644
index 0000000..38e14f8
--- /dev/null
+++ b/winsup/cygwin/include/bits/wordsize.h
@@ -0,0 +1,6 @@
+/* wordsize.h - Linux compatibility */
+
+#ifndef _WORDSIZE_H
+#define _WORDSIZE_H 1
+#define __WORDSIZE 32
+#endif /*_WORDSIZE_H*/