Commit 43003046cba8134bbfa7b405b9fde3bf16bc5478

Authored by bellard
1 parent d157e205

BSD fix + ppc-softmmu support for win32


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@834 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 5 additions and 1 deletions
configure
... ... @@ -154,7 +154,7 @@ ar="${cross_prefix}${ar}"
154 154 strip="${cross_prefix}${strip}"
155 155  
156 156 if test "$mingw32" = "yes" ; then
157   - target_list="i386-softmmu"
  157 + target_list="i386-softmmu ppc-softmmu"
158 158 EXESUF=".exe"
159 159 gdbstub="no"
160 160 fi
... ... @@ -417,6 +417,10 @@ echo "SRC_PATH=$source_path" >> $config_mak
417 417 echo "TARGET_DIRS=$target_list" >> $config_mak
418 418  
419 419 if [ "$bsd" = "yes" ] ; then
  420 + echo "#define O_LARGEFILE 0" >> $config_h
  421 + echo "#define lseek64 lseek" >> $config_h
  422 + echo "#define ftruncate64 ftruncate" >> $config_h
  423 + echo "#define MAP_ANONYMOUS MAP_ANON" >> $config_h
420 424 echo "#define _BSD 1" >> $config_h
421 425 fi
422 426  
... ...