aboutsummaryrefslogtreecommitdiffstats
path: root/thread.h
diff options
context:
space:
mode:
authormichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-03-27 13:13:28 +0000
committermichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-03-27 13:13:28 +0000
commitfec42ab37cb36d0febd1a8c25d88f026f97db920 (patch)
tree4e2928ab0ddbbbe40a3feca1193caa4a8824bb10 /thread.h
parent611fcee649c97dc656c8f1d0438744ad6f6b44ed (diff)
downloadlcd4linux-fec42ab37cb36d0febd1a8c25d88f026f97db920.tar.gz
some more keypad stuff for vnc driver...
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1010 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'thread.h')
-rw-r--r--thread.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/thread.h b/thread.h
index be1bcd5..de33673 100644
--- a/thread.h
+++ b/thread.h
@@ -33,19 +33,18 @@
#ifdef __CYGWIN__
#ifndef HAVE_UNION_SEMUN
-union semun
-{
- int val;
+union semun {
+ int val;
struct semid_ds *buf;
unsigned short *array;
};
#endif
#ifndef SHM_R
- #define SHM_R 0400
+#define SHM_R 0400
#endif
#ifndef SHM_W
- #define SHM_W 0660
+#define SHM_W 0660
#endif
#endif