Include winerror.h if in Winelib mode.
This commit is contained in:
parent
6db69f0b9b
commit
b3c7a79225
|
@ -21,6 +21,10 @@
|
||||||
#ifndef MAPICODE_H
|
#ifndef MAPICODE_H
|
||||||
#define MAPICODE_H
|
#define MAPICODE_H
|
||||||
|
|
||||||
|
#ifndef __WINE__
|
||||||
|
#include "winerror.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define MAKE_MAPI_SCODE(sev,fac,code) \
|
#define MAKE_MAPI_SCODE(sev,fac,code) \
|
||||||
( (((ULONG)(sev)<<31) | ((ULONG)(fac)<<16) | ((ULONG)(code))) )
|
( (((ULONG)(sev)<<31) | ((ULONG)(fac)<<16) | ((ULONG)(code))) )
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,13 @@
|
||||||
#define __WINE_MAPIDEFS_H
|
#define __WINE_MAPIDEFS_H
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
|
#ifndef __WINE__
|
||||||
|
#include "windows.h"
|
||||||
|
#include "winerror.h"
|
||||||
|
#ifndef _OBJBASE_H_
|
||||||
|
#include "objbase.h"
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Some types */
|
/* Some types */
|
||||||
|
|
||||||
|
|
|
@ -25,9 +25,8 @@
|
||||||
|
|
||||||
#include "basetsd.h"
|
#include "basetsd.h"
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
|
#ifndef __WINE__
|
||||||
#ifndef RC_INVOKED
|
#include "winerror.h"
|
||||||
#include <stdarg.h>
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
Loading…
Reference in New Issue