Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
None
-
Operating System: ReactOS
Platform: x86 Hardware
Description
target file:
base/shell/explorer/utility/utility.h
like the reported in [3598], precompiling header for explorer may fail under certain build environments (and in this case, specifically under non-win32 hosts), overriding the declaration of _pctype.
Below, the patch to fix this issue.
Marcelo A. B. Slomp
Index: base/shell/explorer/utility/utility.h
===================================================================
— base/shell/explorer/utility/utility.h (revision 34860)
+++ base/shell/explorer/utility/utility.h (working copy)
@@ -25,6 +25,11 @@
// Martin Fuchs, 23.07.2003
//
+ // standard windows headers
+#define WIN32_LEAN_AND_MEAN
+#define WIN32_EXTRA_LEAN
+#include <windows.h>
+
#ifdef __cplusplus
#ifdef _MSC_VER
@@ -39,11 +44,6 @@
#endif /* __cplusplus */
- // standard windows headers
-#define WIN32_LEAN_AND_MEAN
-#define WIN32_EXTRA_LEAN
-#include <windows.h>
-
// Unicode support
#if defined(UNICODE) && !defined(_UNICODE)
#define _UNICODE
Attachments
Issue Links
- duplicates
-
CORE-3496 Fix explorer compilation errors
- Resolved