aboutsummaryrefslogtreecommitdiffstats
path: root/thread.h
diff options
context:
space:
mode:
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