Fix for the Hurd, from the debian project.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 15 Mar 2010 09:46:33 -0400
changeset 1062 a70235520141
parent 1060 9f6f291ff8ec
child 1063 efb4c91b8dd6
Fix for the Hurd, from the debian project.
src/platform_unix.c
--- a/src/platform_unix.c	Mon Mar 01 09:07:36 2010 -0800
+++ b/src/platform_unix.c	Mon Mar 15 09:46:33 2010 -0400
@@ -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)
 {