Skip to content

Commit

Permalink
OSX: removed pack_fopen renaming from liballegro-4.4.2.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-mogilko committed Mar 5, 2017
1 parent c3d0a02 commit 8b9b595
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions OSX/patches/allegro-4.4.2.patch
Expand Up @@ -1871,29 +1871,6 @@ index 04b82af..c823e84 100644
+ return -1;
}


diff --git a/src/file.c b/src/file.c
index c89024c..4abecdc 100644
--- a/src/file.c
+++ b/src/file.c
@@ -21,6 +21,8 @@
* Peter Wang added support for packfile vtables.
*
* See readme.txt for copyright information.
+ *
+ * ****** CJ CHANGES IN THIS FILE: Renamed pack_fopen to __old_pack_fopen
*/


@@ -1808,7 +1810,7 @@ PACKFILE *_pack_fdopen(int fd, AL_CONST char *mode)
* it returns NULL and stores an error code in errno. An attempt to read a
* normal file in packed mode will cause errno to be set to EDOM.
*/
-PACKFILE *pack_fopen(AL_CONST char *filename, AL_CONST char *mode)
+PACKFILE *__old_pack_fopen(AL_CONST char *filename, AL_CONST char *mode)
{
char tmp[1024];
int fd;
diff --git a/src/ios/idrivers.c b/src/ios/idrivers.c
new file mode 100644
index 0000000..f5c9e20
Expand Down

0 comments on commit 8b9b595

Please sign in to comment.