Include winerror.h if in Winelib mode.

This commit is contained in:
Francois Gouget 2002-05-23 02:38:56 +00:00 committed by Alexandre Julliard
parent 6db69f0b9b
commit b3c7a79225
3 changed files with 13 additions and 3 deletions

View File

@ -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))) )

View File

@ -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 */

View File

@ -25,9 +25,8 @@
#include "basetsd.h"
#include "windef.h"
#ifndef RC_INVOKED
#include <stdarg.h>
#ifndef __WINE__
#include "winerror.h"
#endif
#ifdef __cplusplus