Let RPC API work with or without windows.h.
* include/rpc.h: Conditionally include <windows.h> before header guard. * include/wtypes.h: Include <rpc.h> and <rpcndr.h> before header guard.
This commit is contained in:
parent
3368050f8f
commit
875beea460
|
@ -1,3 +1,11 @@
|
|||
2002-07-04 Danny Smith <dannysmith@users.sourceforge.net>
|
||||
|
||||
* include/rpc.h: Conditionally include <windows.h> before
|
||||
header guard.
|
||||
* include/wtypes.h: Include <rpc.h> and <rpcndr.h> before
|
||||
header guard.
|
||||
|
||||
|
||||
2002-07-02 Danny Smith <dannysmith@users.sourceforge.net>
|
||||
|
||||
* include/commctrl.h (WC_*): Remove some duplicate defines.
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
#ifndef RPC_NO_WINDOWS_H
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#ifndef _RPC_H
|
||||
#define _RPC_H
|
||||
#if __GNUC__ >=3
|
||||
#pragma GCC system_header
|
||||
#endif
|
||||
|
||||
#ifndef RPC_NO_WINDOWS_H
|
||||
#include <windows.h>
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
|
||||
#ifndef _WTYPES_H
|
||||
#define _WTYPES_H
|
||||
#if __GNUC__ >=3
|
||||
|
|
Loading…
Reference in New Issue