Re: [AD] bugfix for files > 2GB under unix

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


That is, assuming OSX uses unix/ufile.c - but since I saw no separate
implementation, I assume it is.

It does.

You'll also need this patch: (to pull in the definition for struct stat)
Index: include/allegro/platform/alosxcfg.h
===================================================================
--- include/allegro/platform/alosxcfg.h (revision 5812)
+++ include/allegro/platform/alosxcfg.h (working copy)
@@ -38,6 +38,7 @@
#define HAVE_SYS_DIR_H
#define HAVE_SYS_TIME_H
#define TIME_WITH_SYS_TIME
+#define HAVE_SYS_STAT_H

/* Describe this platform */
#define ALLEGRO_PLATFORM_STR  "MacOS X"

Pete
Index: include/allegro/platform/alosxcfg.h
===================================================================
--- include/allegro/platform/alosxcfg.h	(revision 5812)
+++ include/allegro/platform/alosxcfg.h	(working copy)
@@ -38,6 +38,7 @@
 #define HAVE_SYS_DIR_H
 #define HAVE_SYS_TIME_H
 #define TIME_WITH_SYS_TIME
+#define HAVE_SYS_STAT_H
 
 /* Describe this platform */
 #define ALLEGRO_PLATFORM_STR  "MacOS X"


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/