Skip to contentSkip to conversation

[6298] Fix _P use on OpenBSD

Qemu-devel Blue Swirl 1 participant 1 message Jan 14, 2009

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

Revision: 6298

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6298
Author:   blueswir1
Date:     2009-01-14 18:04:52 +0000 (Wed, 14 Jan 2009)

Log Message:
-----------
Fix _P use on OpenBSD

Modified Paths:
--------------
trunk/slirp/slirp.h

Modified: trunk/slirp/slirp.h
===================================================================

slirp/slirp.h +1 -2
@@ -120,13 +120,12 @@
 #include <sys/uio.h>
 #endif
 
-#ifndef _P
+#undef _P
 #ifndef NO_PROTOTYPES
 #  define   _P(x)   x
 #else
 #  define   _P(x)   ()
 #endif
-#endif
 
 #ifndef _WIN32
 #include <netinet/in.h>