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