From b8ced83a6c1bb2d19ce3db9dff3d6ddf9c7252d6 Mon Sep 17 00:00:00 2001 From: Catalin Date: Sun, 5 Mar 2017 22:25:34 +0200 Subject: [PATCH] Keep SHACF_FILESYS_XXX checks and definitions. Apparently some gcc flavors (like g++ (GCC) 5.3.0 from AppVeyor) do not define these symbols. FWIW tdm-gcc-5.1.0 does not need them. This partially reverts commit 2f5f5caf99239f03773291d089a879d75cb01a33. --- src/msw/textentry.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/msw/textentry.cpp b/src/msw/textentry.cpp index 3acadace87..cd33b0c120 100644 --- a/src/msw/textentry.cpp +++ b/src/msw/textentry.cpp @@ -66,6 +66,14 @@ #endif #endif +#ifndef SHACF_FILESYS_ONLY + #define SHACF_FILESYS_ONLY 0x00000010 +#endif + +#ifndef SHACF_FILESYS_DIRS + #define SHACF_FILESYS_DIRS 0x00000020 +#endif + // This must be the last header included to only affect the DEFINE_GUID() // occurrences below but not any GUIDs declared in the standard files included // above.