Assert define fix.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 24 Jul 2005 01:01:35 +0000
changeset 743 8afd4cb34040
parent 740 b366c4c015bc
child 745 df04959950eb
Assert define fix.
CHANGELOG
physfs_internal.h
--- a/CHANGELOG	Sun Jul 24 00:19:11 2005 +0000
+++ b/CHANGELOG	Sun Jul 24 01:01:35 2005 +0000
@@ -7,7 +7,7 @@
            includes the security fix. Fixed "make dist" to handle .svn dirs
            and other file changes. Removed "debian" directory. Allow a mount
            point of NULL to be "/", per the documentation. Fixed warning in
-           physfs.c. Updated CWProjects.sit.
+           physfs.c. Assert definition fix. Updated CWProjects.sit.
            Upped version to 1.1.0 ... first release of 1.1 dev branch!
 07212005 - Patched to compile on OS/2 again.
 07132005 - Updated zlib to 1.2.2, and patched it for this security hole:
--- a/physfs_internal.h	Sun Jul 24 00:19:11 2005 +0000
+++ b/physfs_internal.h	Sun Jul 24 01:01:35 2005 +0000
@@ -18,7 +18,7 @@
 
 #ifdef HAVE_ASSERT_H
 #include <assert.h>
-#else
+#elif (!defined assert)
 #define assert(x)
 #endif