Patch: [#22524] Update Windows Recent Documents on Open/Save
[blender.git] / intern / ghost / intern / GHOST_Debug.h
index 9903ed7cc3593fdf5b19727e89de8f3c28305a61..927ecfc88a5861f02b4502b46ee0739c6914382f 100644 (file)
 #ifndef _GHOST_DEBUG_H_
 #define _GHOST_DEBUG_H_
 
-#ifdef WIN32
-       #ifdef _DEBUG
+#if defined(WIN32) && !defined(FREE_WINDOWS)
+       #ifdef DEBUG
                #pragma warning (disable:4786) // suppress stl-MSVC debug info warning
                // #define GHOST_DEBUG
-       #endif // _DEBUG
+       #endif // DEBUG
 #endif // WIN32
 
 #ifdef BF_GHOST_DEBUG