mirror of
https://github.com/reactos/reactos.git
synced 2024-11-05 22:26:39 +00:00
6cdaad13bd
Fix build by commit 072965eb0
for modules:
EXPLORER, COMCTL32, IERNONCE, URLMON, USER32_(API|WINE)TESTS
Note that some of these modules (from Wine) already have the OEMRESOURCE
defined; however, only in one of their files. But we have added
precompiled headers for them where we have included either windows.h
or winuser.h in them, without OEMRESOURCE. The result is, that when
compiling these modules with PCH support, the OEMRESOURCE define was
_not_ satisfied and thus, compile errors arose.
Fix this by adding #define OEMRESOURCE before the windows headers also
in the precompiled headers we have added for these modules.
29 lines
495 B
C
29 lines
495 B
C
|
|
#ifndef _WINE_COMCTL32_PRECOMP_H
|
|
#define _WINE_COMCTL32_PRECOMP_H
|
|
|
|
#include <wine/config.h>
|
|
|
|
#include <assert.h>
|
|
|
|
#define _INC_WINDOWS
|
|
#define COM_NO_WINDOWS_H
|
|
|
|
#define COBJMACROS
|
|
#define NONAMELESSUNION
|
|
#define NONAMELESSSTRUCT
|
|
#define OEMRESOURCE
|
|
|
|
#include "comctl32.h"
|
|
|
|
#include <winreg.h>
|
|
#include <objbase.h>
|
|
#include <uxtheme.h>
|
|
#include <vssym32.h>
|
|
|
|
#include <wine/debug.h>
|
|
#include <wine/heap.h>
|
|
#include <wine/list.h>
|
|
#include <wine/unicode.h>
|
|
|
|
#endif /* !_WINE_COMCTL32_PRECOMP_H */
|