summaryrefslogtreecommitdiff
path: root/source/api_wrappers/linux/Types.h
diff options
context:
space:
mode:
authorZoran Aleksov <zoran.aleksov@seavus.com>2012-05-04 16:05:48 +0200
committerViktor Mladenovski <viktor.mladenovski@seavus.com>2012-05-25 14:45:43 +0200
commit24629b4d05f7b0826c8cd1866d57ddcc4cb949d1 (patch)
tree5d9dd6c4dafd956413b5d289a2301f60e2dd3fcc /source/api_wrappers/linux/Types.h
parent78bf8bace61dbae9d7d314716dfd356ff639a416 (diff)
sem_open issue
Previous solution is reverted back using compile switches) only for Ubuntu. For Mac OS the problem still exists and will be fixed in different patch. ST-Ericsson ID: 432287 ST-Ericsson FOSS-OUT ID: NA Change-Id: Idd50886392ceb58fb07d0c14ed5c9b88fcc7fd35 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/58222 Reviewed-by: Vlatko PISTOLOV <vlatko.pistolov@seavus.com> Tested-by: Vlatko PISTOLOV <vlatko.pistolov@seavus.com>
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 */