summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 3f01135..5fe1190 100644
--- a/configure.ac
+++ b/configure.ac
@@ -128,7 +128,9 @@ generic/tkbltDecls.h
])
TEA_ADD_INCLUDES([])
TEA_ADD_LIBS([-lstdc++])
-TEA_ADD_CFLAGS([])
+if test "windows" = "${TEA_PLATFORM}"; then
+TEA_ADD_CFLAGS([-TP -EHsc -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES])
+fi
TEA_ADD_STUB_SOURCES([tkbltStubLib.C])
TEA_ADD_TCL_SOURCES([library/graph.tcl])