aboutsummaryrefslogtreecommitdiff
path: root/cube
diff options
context:
space:
mode:
Diffstat (limited to 'cube')
-rw-r--r--cube/cube.c2
-rw-r--r--cube/object_type_string_helper.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/cube/cube.c b/cube/cube.c
index 6df37bf1..639db31c 100644
--- a/cube/cube.c
+++ b/cube/cube.c
@@ -40,7 +40,9 @@
#endif
#ifdef _WIN32
+#ifdef _MSC_VER
#pragma comment(linker, "/subsystem:windows")
+#endif // MSVC
#define APP_NAME_STR_LEN 80
#endif // _WIN32
diff --git a/cube/object_type_string_helper.h b/cube/object_type_string_helper.h
index 692f7a83..0469b801 100644
--- a/cube/object_type_string_helper.h
+++ b/cube/object_type_string_helper.h
@@ -21,7 +21,7 @@
****************************************************************************/
#pragma once
-#ifdef _WIN32
+#ifdef _MSC_VER
#pragma warning(disable : 4065)
#endif