fix widl unix build.

svn path=/trunk/; revision=47942
This commit is contained in:
Sylvain Petreolle
2010-07-04 20:20:10 +00:00
parent 273ff27b45
commit a4f8711e85
4 changed files with 12 additions and 8 deletions
+1 -2
View File
@@ -35,8 +35,7 @@
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include "windef.h"
#include "winbase.h"
#include <host/typedefs.h>
#include "widl.h"
#include "utils.h"
+2 -2
View File
@@ -302,7 +302,7 @@ typedef struct {
*
*/
#include "pshpack1.h"
#include <host/pshpack1.h>
typedef struct {
/*00*/ DWORD SLTG_magic; /* 0x47544c53 == "SLTG" */
@@ -599,7 +599,7 @@ WORD offset from start of block to SAFEARRAY
WORD typeofarray
*/
#include "poppack.h"
#include <host/poppack.h>
/*---------------------------END--------------------------------------------*/
#endif
+7
View File
@@ -21,6 +21,13 @@
#ifndef __WIDL_WIDLTYPES_H
#define __WIDL_WIDLTYPES_H
#define S_OK 0
#define S_FALSE 1
#define E_OUTOFMEMORY ((HRESULT)0x8007000EL)
#define TYPE_E_IOERROR ((HRESULT)0x80028CA2L)
#define max(a, b) ((a) > (b) ? a : b)
#include <stdarg.h>
#include <assert.h>
#include "guiddef.h"
+2 -4
View File
@@ -40,10 +40,8 @@
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include "winerror.h"
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
#include <host/typedefs.h>
#include <host/nls.h>
#include "widl.h"
#include "typelib.h"