struct xmake_state *state = 0;
const char *program_name = 0;
-const char *os_name = "";
-
#if defined (__PDOS__)
-os_name = "PDOS";
+const char *os_name = "PDOS";
#elif defined (_WIN32) || defined (__WIN32__)
-os_name = "Windows_NT";
+const char *os_name = "Windows_NT";
#elif defined (__MSDOS__)
-os_name = "MSDOS";
+const char *os_name = "MSDOS";
#elif defined (__APPLE__)
-os_name = "Apple";
+const char *os_name = "Apple";
#elif defined (__linux__)
-os_name = "Linux";
+const char *os_name = "Linux";
#elif defined (unix) || defined (__unix) || defined (__unix__)
-os_name = "Unix";
+const char *os_name = "Unix";
+#else
+const char *os_name = "";
#endif
struct linebuf {