Răsfoiți Sursa

64-bit _llseek() detection code.

Ryan C. Gordon 24 ani în urmă
părinte
comite
78efe227f3
2 a modificat fișierele cu 8 adăugiri și 0 ștergeri
  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_GRP
 #undef PHYSFS_HAVE_READLINE
+#undef PHYSFS_HAVE_LLSEEK
 

+ 7 - 0
configure.in

@@ -93,6 +93,13 @@ dnl ---------------------------------------------------------------------
 dnl Checks for libraries.
 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"
 
 dnl Check for zip archiver inclusion...