Assert define fix. stable-1.0 release-1.0.1
authorRyan C. Gordon <icculus@icculus.org>
Sun, 24 Jul 2005 01:02:11 +0000
branchstable-1.0
changeset 744 f97286bd34b9
parent 742 4bf5a431d545
child 750 1a9776396bb6
Assert define fix.
CHANGELOG
physfs_internal.h
--- a/CHANGELOG	Sun Jul 24 00:21:00 2005 +0000
+++ b/CHANGELOG	Sun Jul 24 01:02:11 2005 +0000
@@ -8,7 +8,7 @@
            1.2.3, which properly includes the security fix. Fixed "make dist"
            to handle .svn dirs and other file changes. Removed "debian"
            directory. Fixed warning in physfs.c. Updated CWProjects.sit.
-           Upped version to 1.0.1.
+           Assert define fix. Upped version to 1.0.1.
 07132005 - Moved to zlib122, and security fix discussed here:
            http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2096
 06122005 - Added support for mingw to Unix build process (thanks, Matze!).
--- a/physfs_internal.h	Sun Jul 24 00:21:00 2005 +0000
+++ b/physfs_internal.h	Sun Jul 24 01:02:11 2005 +0000
@@ -18,7 +18,7 @@
 
 #ifdef HAVE_ASSERT_H
 #include <assert.h>
-#else
+#elif (!defined assert)
 #define assert(x)
 #endif