lots of mods getting windows to build under cygwin without visual studio.
[feisty_meow.git] / nucleus / library / application / hoople_main.h
index aac5a74e42ad99ad21d6ea208286472f96efc28a..51875c2cbd940788fb5f096ab89bd9fb3e8ab682 100644 (file)
@@ -56,7 +56,7 @@ namespace application {
 
 //////////////
 
-#elif defined(__UNIX__)
+#elif defined(__UNIX__) || defined(__GNU_WINDOWS__)
   //! options that should work for most unix and linux apps.
   #define HOOPLE_MAIN(obj_name, obj_args) \
     HOOPLE_STARTUP_CODE; \
@@ -69,7 +69,7 @@ namespace application {
 
 //////////////
 
-#elif defined(__WIN32__)
+#elif defined(_MSC_VER)
   // for win32 we need to support four different environments--console mode,
   // borland compilation, MFC programs and regular windows programs.
   #ifdef _CONSOLE