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:
parent
e2542fe2bc
commit
35f4df2759
|
@ -1536,6 +1536,7 @@ if test "$mingw32" = "yes" ; then
|
||||||
echo "CONFIG_WIN32=y" >> $config_host_mak
|
echo "CONFIG_WIN32=y" >> $config_host_mak
|
||||||
echo "#define CONFIG_WIN32 1" >> $config_host_h
|
echo "#define CONFIG_WIN32 1" >> $config_host_h
|
||||||
else
|
else
|
||||||
|
echo "CONFIG_POSIX=y" >> $config_host_mak
|
||||||
cat > $TMPC << EOF
|
cat > $TMPC << EOF
|
||||||
#include <byteswap.h>
|
#include <byteswap.h>
|
||||||
int main(void) { return bswap_32(0); }
|
int main(void) { return bswap_32(0); }
|
||||||
|
|
Loading…
Reference in New Issue