mirror of https://gitee.com/openkylin/libvirt.git
cygwin: build fix
Fixing a problem in the build on cygwin due to missing #define's.
This commit is contained in:
parent
0a5f3ae0c6
commit
b8564da17a
|
@ -16,6 +16,12 @@
|
||||||
#ifndef IXDR_GET_INT32
|
#ifndef IXDR_GET_INT32
|
||||||
# define IXDR_GET_INT32 IXDR_GET_LONG
|
# define IXDR_GET_INT32 IXDR_GET_LONG
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef IXDR_PUT_U_INT32
|
||||||
|
# define IXDR_PUT_U_INT32 IXDR_PUT_U_LONG
|
||||||
|
#endif
|
||||||
|
#ifndef IXDR_GET_U_INT32
|
||||||
|
# define IXDR_GET_U_INT32 IXDR_GET_U_LONG
|
||||||
|
#endif
|
||||||
|
|
||||||
bool_t
|
bool_t
|
||||||
xdr_remote_nonnull_string (XDR *xdrs, remote_nonnull_string *objp)
|
xdr_remote_nonnull_string (XDR *xdrs, remote_nonnull_string *objp)
|
||||||
|
|
|
@ -24,6 +24,12 @@ extern "C" {
|
||||||
#ifndef IXDR_GET_INT32
|
#ifndef IXDR_GET_INT32
|
||||||
# define IXDR_GET_INT32 IXDR_GET_LONG
|
# define IXDR_GET_INT32 IXDR_GET_LONG
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef IXDR_PUT_U_INT32
|
||||||
|
# define IXDR_PUT_U_INT32 IXDR_PUT_U_LONG
|
||||||
|
#endif
|
||||||
|
#ifndef IXDR_GET_U_INT32
|
||||||
|
# define IXDR_GET_U_INT32 IXDR_GET_U_LONG
|
||||||
|
#endif
|
||||||
#define REMOTE_MESSAGE_MAX 262144
|
#define REMOTE_MESSAGE_MAX 262144
|
||||||
#define REMOTE_MESSAGE_HEADER_MAX 24
|
#define REMOTE_MESSAGE_HEADER_MAX 24
|
||||||
#define REMOTE_MESSAGE_PAYLOAD_MAX 262120
|
#define REMOTE_MESSAGE_PAYLOAD_MAX 262120
|
||||||
|
|
|
@ -51,6 +51,12 @@
|
||||||
%#ifndef IXDR_GET_INT32
|
%#ifndef IXDR_GET_INT32
|
||||||
%# define IXDR_GET_INT32 IXDR_GET_LONG
|
%# define IXDR_GET_INT32 IXDR_GET_LONG
|
||||||
%#endif
|
%#endif
|
||||||
|
%#ifndef IXDR_PUT_U_INT32
|
||||||
|
%# define IXDR_PUT_U_INT32 IXDR_PUT_U_LONG
|
||||||
|
%#endif
|
||||||
|
%#ifndef IXDR_GET_U_INT32
|
||||||
|
%# define IXDR_GET_U_INT32 IXDR_GET_U_LONG
|
||||||
|
%#endif
|
||||||
|
|
||||||
/*----- Data types. -----*/
|
/*----- Data types. -----*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue