Procházet zdrojové kódy

Assert define fix.

Ryan C. Gordon před 20 roky
rodič
revize
33ce47743f
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 1 1
      CHANGELOG
  2. 1 1
      physfs_internal.h

+ 1 - 1
CHANGELOG

@@ -8,7 +8,7 @@
            1.2.3, which properly includes the security fix. Fixed "make dist"
            1.2.3, which properly includes the security fix. Fixed "make dist"
            to handle .svn dirs and other file changes. Removed "debian"
            to handle .svn dirs and other file changes. Removed "debian"
            directory. Fixed warning in physfs.c. Updated CWProjects.sit.
            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:
 07132005 - Moved to zlib122, and security fix discussed here:
            http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2096
            http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2096
 06122005 - Added support for mingw to Unix build process (thanks, Matze!).
 06122005 - Added support for mingw to Unix build process (thanks, Matze!).

+ 1 - 1
physfs_internal.h

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