summaryrefslogtreecommitdiff
path: root/core/src/tbox/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/tbox/makefile')
-rw-r--r--core/src/tbox/makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/core/src/tbox/makefile b/core/src/tbox/makefile
index 37f0fcc61..e48d35dc0 100644
--- a/core/src/tbox/makefile
+++ b/core/src/tbox/makefile
@@ -265,7 +265,18 @@ tbox_C_FILES += \
tbox/src/tbox/charset/ucs4 \
tbox/src/tbox/charset/iso8859
-ifeq ($(PLAT),mingw)
+iswin =
+ifeq ($(PLAT),windows)
+ iswin = yes
+endif
+ifeq ($(PLAT),msys)
+ iswin = yes
+endif
+ifeq ($(PLAT),cygwin)
+ iswin = yes
+endif
+
+ifdef iswin
tbox_C_FILES += \
tbox/src/tbox/platform/windows/windows \
tbox/src/tbox/platform/windows/iocp_object \