user32/include: Don't define the OBM_*, OCR_* and OIC_* macros unless OEMRESOURCE is defined.

This commit is contained in:
Francois Gouget 2006-11-07 00:52:01 +01:00 committed by Alexandre Julliard
parent 43b52ebb8e
commit 0996980595
10 changed files with 21 additions and 0 deletions

View File

@ -68,6 +68,8 @@
#include <string.h>
#include <stdlib.h>
#define OEMRESOURCE
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"

View File

@ -35,6 +35,8 @@
#include <stdarg.h>
#include <string.h>
#define OEMRESOURCE
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"

View File

@ -86,6 +86,8 @@
#include <string.h>
#include <math.h>
#define OEMRESOURCE
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"

View File

@ -45,6 +45,8 @@
#include <stdarg.h>
#include <string.h>
#define OEMRESOURCE
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"

View File

@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define OEMRESOURCE
#include "windef.h"
#include "winbase.h"
#include "winuser.h"

View File

@ -27,6 +27,8 @@
#include <string.h>
#include <assert.h>
#define OEMRESOURCE /* For OBM_MNARROW */
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"

View File

@ -24,6 +24,8 @@
#include <stdio.h>
#include <string.h>
#define OEMRESOURCE
#include "wine/winuser16.h"
#include "windef.h"
#include "winbase.h"

View File

@ -671,6 +671,7 @@ typedef struct tagWINDOWPLACEMENT
#define ES_NUMBER 0x00002000
/* OEM Resource Ordinal Numbers */
#ifdef OEMRESOURCE
#define OBM_TRTYPE 32732
#define OBM_LFARROWI 32734
#define OBM_RGARROWI 32735
@ -737,6 +738,7 @@ typedef struct tagWINDOWPLACEMENT
#define OIC_WARNING OIC_BANG
#define OIC_ERROR OIC_HAND
#define OIC_INFORMATION OIC_NOTE
#endif /* OEMRESOURCE */
#ifndef NOCOLOR

View File

@ -19,6 +19,9 @@
*/
#include <stdio.h>
#define OEMRESOURCE
#include <windows.h>
#include <wine/debug.h>
#include "explorer_private.h"

View File

@ -21,6 +21,9 @@
#include <stdio.h>
#include <string.h>
#define OEMRESOURCE
#include "windows.h"
#include "progman.h"