]> xenbits.xensource.com Git - libvirt.git/commitdiff
cygwin: build fix
authorStefan Berger <stefanb@us.ibm.com>
Tue, 17 Aug 2010 10:37:27 +0000 (06:37 -0400)
committerStefan Berger <stefanb@us.ibm.com>
Tue, 17 Aug 2010 10:37:27 +0000 (06:37 -0400)
Fixing a problem in the build on cygwin due to missing #define's.

src/remote/remote_protocol.c
src/remote/remote_protocol.h
src/remote/remote_protocol.x

index 0a33f0bb2e74744d42e13c0b0fd7ca796dad943a..2483004138c3ffe51c08df4c40d72a39cdc71897 100644 (file)
 #ifndef IXDR_GET_INT32
 # define IXDR_GET_INT32 IXDR_GET_LONG
 #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
 xdr_remote_nonnull_string (XDR *xdrs, remote_nonnull_string *objp)
index 4ec0895730c9fdc12ecfe50a2f438742ae85d250..afe9287e3518a787ab592d71c6f4f7107d36ec68 100644 (file)
@@ -24,6 +24,12 @@ extern "C" {
 #ifndef IXDR_GET_INT32
 # define IXDR_GET_INT32 IXDR_GET_LONG
 #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_HEADER_MAX 24
 #define REMOTE_MESSAGE_PAYLOAD_MAX 262120
index 62450c4a77ab2f380ac5e3b432930cee1c1e0328..8af469c40f5cabb685db18fbc8eccae3b9c55f3b 100644 (file)
 %#ifndef IXDR_GET_INT32
 %# define IXDR_GET_INT32 IXDR_GET_LONG
 %#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. -----*/