summaryrefslogtreecommitdiff
path: root/source/api_wrappers/linux/Types.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/api_wrappers/linux/Types.h')
-rw-r--r--source/api_wrappers/linux/Types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/api_wrappers/linux/Types.h b/source/api_wrappers/linux/Types.h
index 4f720aa..6008996 100644
--- a/source/api_wrappers/linux/Types.h
+++ b/source/api_wrappers/linux/Types.h
@@ -17,8 +17,10 @@ typedef unsigned int DWORD;
#define WINAPI
+#if defined(__APPLE__)
#define SEM_NAME_MAX_LENGTH 16
#define SEM_MAX_NR 1000
+#endif
#endif /* _TYPES_H */