summaryrefslogtreecommitdiffstats
path: root/config.h
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-11-02 18:40:02 -0400
committerSam Anthony <sam@samanthony.xyz>2024-11-02 18:40:02 -0400
commit2dcb068f244969bd49ebcbfb3ce9d5c4b8af7ce7 (patch)
tree3267a746a34608409abeabf5edb8d996dfb155f0 /config.h
parent354e155867dcb6c0d574bb5de47e5903cb67b99d (diff)
downloadballs-2dcb068f244969bd49ebcbfb3ce9d5c4b8af7ce7.zip
disable warning on windows
Diffstat (limited to 'config.h')
-rw-r--r--config.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/config.h b/config.h
index 295d69c..9868f14 100644
--- a/config.h
+++ b/config.h
@@ -1,2 +1,6 @@
-/* #define WINDOWS 1 */
#define CL_TARGET_OPENCL_VERSION 110
+
+/* #define WINDOWS 1 */
+#ifdef WINDOWS
+#pragma warning(disable : 4996)
+#endif