ソースを参照

64-bit _llseek() detection code.

Ryan C. Gordon 24 年 前
コミット
78efe227f3
2 ファイル変更8 行追加0 行削除
  1. 1 0
      acconfig.h
  2. 7 0
      configure.in

+ 1 - 0
acconfig.h

@@ -5,4 +5,5 @@
 #undef PHYSFS_SUPPORTS_ZIP
 #undef PHYSFS_SUPPORTS_ZIP
 #undef PHYSFS_SUPPORTS_GRP
 #undef PHYSFS_SUPPORTS_GRP
 #undef PHYSFS_HAVE_READLINE
 #undef PHYSFS_HAVE_READLINE
+#undef PHYSFS_HAVE_LLSEEK
 
 

+ 7 - 0
configure.in

@@ -93,6 +93,13 @@ dnl ---------------------------------------------------------------------
 dnl Checks for libraries.
 dnl Checks for libraries.
 dnl ---------------------------------------------------------------------
 dnl ---------------------------------------------------------------------
 
 
+dnl !!! FIXME: Not sure how to detect this...
+dnl check for 64-bit llseek()...
+dnl AC_CHECK_LIB(c, llseek, have_llseek=yes)
+if test x$have_llseek = xyes; then
+  AC_DEFINE(PHYSFS_HAVE_LLSEEK)
+fi
+
 require_zlib="no"
 require_zlib="no"
 
 
 dnl Check for zip archiver inclusion...
 dnl Check for zip archiver inclusion...