Add CONFIG_POSIX
authorJuan Quintela <quintela@redhat.com>
Mon, 27 Jul 2009 14:13:07 +0000 (16:13 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 27 Jul 2009 19:09:21 +0000 (14:09 -0500)
We need a way to define posix-like (a.k.a. no win32)

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
configure

index a3e5438315090e816dbcf4980fffb7671f2830d0..0545199c22639f5e2eed3eaaa16003393764e4f5 100755 (executable)
--- a/configure
+++ b/configure
@@ -1536,6 +1536,7 @@ if test "$mingw32" = "yes" ; then
   echo "CONFIG_WIN32=y" >> $config_host_mak
   echo "#define CONFIG_WIN32 1" >> $config_host_h
 else
+  echo "CONFIG_POSIX=y" >> $config_host_mak
   cat > $TMPC << EOF
 #include <byteswap.h>
 int main(void) { return bswap_32(0); }