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>
This commit is contained in:
Juan Quintela 2009-07-27 16:13:07 +02:00 committed by Anthony Liguori
parent e2542fe2bc
commit 35f4df2759

1
configure vendored
View File

@ -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); }