Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19dec75
)
ecere/gui/XInterface: Fixed compile issue on Semaphore in FreeBSD
author
Jerome St-Louis
<jerome@ecere.com>
Wed, 9 Jul 2014 09:53:18 +0000
(
05:53
-0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Wed, 9 Jul 2014 09:53:18 +0000
(
05:53
-0400)
ecere/src/gui/drivers/XInterface.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gui/drivers/XInterface.ec
b/ecere/src/gui/drivers/XInterface.ec
index
cd0e171
..
c5271ea
100644
(file)
--- a/
ecere/src/gui/drivers/XInterface.ec
+++ b/
ecere/src/gui/drivers/XInterface.ec
@@
-22,6
+22,16
@@
default:
#include <unistd.h>
#include <sys/select.h>
+#if defined(__APPLE__)
+#define set _set
+#include <mach/mach.h>
+#include <mach/task.h>
+#include <mach/semaphore.h>
+#undef set
+#else
+#include <semaphore.h>
+#endif
+
//#include <stdio.h>
//#include <stdlib.h>
//#include <string.h>