From 75339bfdc4213b29e1e0d72fc1a3ff274f84cfb5 Mon Sep 17 00:00:00 2001 From: Arnold <40414978+PatriceJiang@users.noreply.github.com> Date: Fri, 13 Mar 2020 10:25:44 +0800 Subject: [PATCH] add sdl --- win32/include/jpeg/jmorecfg.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/win32/include/jpeg/jmorecfg.h b/win32/include/jpeg/jmorecfg.h index 2407edbe..b19fba2a 100644 --- a/win32/include/jpeg/jmorecfg.h +++ b/win32/include/jpeg/jmorecfg.h @@ -264,6 +264,18 @@ typedef enum { FALSE = 0, TRUE = 1 } boolean; #endif +#if _WIN32 + +# ifdef FALSE /* in case these macros already exist */ +# undef FALSE /* values of boolean */ +# endif +# ifdef TRUE +# undef TRUE +# endif + +typedef enum { FALSE = 0, TRUE = 1 } boolean; +#endif + /* * The remaining options affect code selection within the JPEG library, * but they don't need to be visible to most applications using the library.