Просмотр исходного кода

Fix for the Hurd, from the debian project.

Ryan C. Gordon 16 лет назад
Родитель
Сommit
8d1cff2bdf
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      src/platform_unix.c

+ 4 - 0
src/platform_unix.c

@@ -46,6 +46,10 @@
 
 #include "physfs_internal.h"
 
+/* !!! FIXME: we should probably remove MAXPATHLEN entirely, if we can. */
+#ifndef MAXPATHLEN
+#define MAXPATHLEN 1024
+#endif
 
 int __PHYSFS_platformInit(void)
 {