Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11749eb
)
instance.c: Defining platform to be linux rather than unknown on FreeBSD
author
Jerome St-Louis
<jerome@ecere.com>
Thu, 7 Mar 2013 06:38:00 +0000
(
01:38
-0500)
committer
Jerome St-Louis
<jerome@ecere.com>
Thu, 7 Mar 2013 06:39:55 +0000
(
01:39
-0500)
ecere/src/com/instance.c
patch
|
blob
|
history
diff --git
a/ecere/src/com/instance.c
b/ecere/src/com/instance.c
index
6cd2c2f
..
01a5460
100644
(file)
--- a/
ecere/src/com/instance.c
+++ b/
ecere/src/com/instance.c
@@
-90,10
+90,11
@@
typedef enum { unknown, win32, tux, apple } Platform;
Platform runtimePlatform = win32;
#elif defined(__APPLE__)
Platform runtimePlatform = apple;
-#elif defined(__linux__)
+#el
se //
if defined(__linux__)
Platform runtimePlatform = tux;
-#else
-Platform runtimePlatform = unknown;
+/*#else
+Platform runtimePlatform = unknown; // 'linux' is used as a catch all UNIX platform for now
+*/
#endif
#if !defined(ECERE_NOFILE) && defined(__unix__)