mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +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.
26 lines
561 B
C
26 lines
561 B
C
/*
|
|
* PROJECT: ReactOS system libraries
|
|
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
|
|
* PURPOSE: ReactOS Extended RunOnce processing with UI.
|
|
* COPYRIGHT: Copyright 2021 He Yang <1160386205@qq.com>
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <cassert>
|
|
#include <cstdlib>
|
|
|
|
#define WIN32_NO_STATUS
|
|
#define OEMRESOURCE // For OBM_MNARROW
|
|
|
|
#include <windef.h>
|
|
#include <winbase.h>
|
|
#include <windowsx.h>
|
|
#include <shlwapi.h>
|
|
#include <iernonce_undoc.h>
|
|
|
|
#include <atlbase.h>
|
|
#include <atlwin.h>
|
|
|
|
#include "registry.h"
|
|
#include "dialog.h"
|