From 2dcb068f244969bd49ebcbfb3ce9d5c4b8af7ce7 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Sat, 2 Nov 2024 18:40:02 -0400 Subject: disable warning on windows --- config.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'config.h') 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 -- cgit v1.2.3