Bläddra i källkod

Assert define fix.

Ryan C. Gordon 20 år sedan
förälder
incheckning
823baad1e1
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 1 1
      CHANGELOG
  2. 1 1
      physfs_internal.h

+ 1 - 1
CHANGELOG

@@ -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:

+ 1 - 1
physfs_internal.h

@@ -18,7 +18,7 @@
 
 #ifdef HAVE_ASSERT_H
 #include <assert.h>
-#else
+#elif (!defined assert)
 #define assert(x)
 #endif