summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2004-06-03 19:51:10 +0000
committerCorinna Vinschen <corinna@vinschen.de>2004-06-03 19:51:10 +0000
commit378e5a0271fc1fd552d9d1fdc4ab7d3ad24645ca (patch)
tree4e52aa56cdb034c1fd1fce8228edfdce76fa05aa /winsup/cygwin
parente9054f3f7f9771c2b7bac1b03e87bd60e2185c5d (diff)
downloadcygnal-378e5a0271fc1fd552d9d1fdc4ab7d3ad24645ca.tar.gz
cygnal-378e5a0271fc1fd552d9d1fdc4ab7d3ad24645ca.tar.bz2
cygnal-378e5a0271fc1fd552d9d1fdc4ab7d3ad24645ca.zip
* include/cygwin/ipc.h (IPC_KEY_IS_SHMID): Redefine to a more sensible
value.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/include/cygwin/ipc.h6
2 files changed, 8 insertions, 3 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 11b948cd6..7667b0847 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+2004-06-03 Corinna Vinschen <corinna@vinschen.de>
+
+ * include/cygwin/ipc.h (IPC_KEY_IS_SHMID): Redefine to a more sensible
+ value.
+
2004-06-02 Christopher Faylor <cgf@alum.bu.edu>
* cygheap.cc (cmalloc): Add debugging hook.
diff --git a/winsup/cygwin/include/cygwin/ipc.h b/winsup/cygwin/include/cygwin/ipc.h
index d0f5beaa1..7b04653d3 100644
--- a/winsup/cygwin/include/cygwin/ipc.h
+++ b/winsup/cygwin/include/cygwin/ipc.h
@@ -32,12 +32,12 @@ struct ipc_perm
/* Mode bits:
*/
-#ifdef _KERNEL
-#define IPC_KEY_IS_SHMID 0x0100 /* Used in shmget when called from shmat. */
-#endif
#define IPC_CREAT 0x0200 /* Create entry if key does not exist. */
#define IPC_EXCL 0x0400 /* Fail if key exists. */
#define IPC_NOWAIT 0x0800 /* Error if request must wait. */
+#ifdef _KERNEL
+#define IPC_KEY_IS_SHMID 0x1000 /* Used in shmget when called from shmat. */
+#endif
/* Keys:
*/