Re: [AD] bugfix for files > 2GB under unix |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: Re: [AD] bugfix for files > 2GB under unix
- From: "Peter Hull" <peterhull90@xxxxxxxxxx>
- Date: Sun, 21 May 2006 21:53:53 +0100
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=b5W7uyCSz4ZCQtfvUTq9BqsFM3YMk+Sdm5YS+KXoS7NHzj3OoF/aBa5lGBhKmVFuZMVRHCOhLNOTTfqg0LDTQtS3lIPUKVNpz220CLVzaidj42vXXm14ifV5V8vAwhUnVoy0igjviq3D/FIyG878muLGnheR1eTIL1Pnoqo7mUg=
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"