instance.c: Defining platform to be linux rather than unknown on FreeBSD
authorJerome St-Louis <jerome@ecere.com>
Thu, 7 Mar 2013 06:38:00 +0000 (01:38 -0500)
committerJerome St-Louis <jerome@ecere.com>
Thu, 7 Mar 2013 06:39:55 +0000 (01:39 -0500)
ecere/src/com/instance.c

index 6cd2c2f..01a5460 100644 (file)
@@ -90,10 +90,11 @@ typedef enum { unknown, win32, tux, apple } Platform;
 Platform runtimePlatform = win32;
 #elif defined(__APPLE__)
 Platform runtimePlatform = apple;
-#elif defined(__linux__)
+#else //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__)