Commit 35f4df2759e58a6c01d45cf3346793e91cb0fc88

Authored by Juan Quintela
Committed by Anthony Liguori
1 parent e2542fe2

Add CONFIG_POSIX

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>
Showing 1 changed file with 1 additions and 0 deletions
configure
@@ -1536,6 +1536,7 @@ if test &quot;$mingw32&quot; = &quot;yes&quot; ; then @@ -1536,6 +1536,7 @@ if test &quot;$mingw32&quot; = &quot;yes&quot; ; then
1536 echo "CONFIG_WIN32=y" >> $config_host_mak 1536 echo "CONFIG_WIN32=y" >> $config_host_mak
1537 echo "#define CONFIG_WIN32 1" >> $config_host_h 1537 echo "#define CONFIG_WIN32 1" >> $config_host_h
1538 else 1538 else
  1539 + echo "CONFIG_POSIX=y" >> $config_host_mak
1539 cat > $TMPC << EOF 1540 cat > $TMPC << EOF
1540 #include <byteswap.h> 1541 #include <byteswap.h>
1541 int main(void) { return bswap_32(0); } 1542 int main(void) { return bswap_32(0); }