Skip to content

Commit

Permalink
Changed PHYSFS_SUPPORTS_LZMA to PHYSFS_SUPPORTS_7Z.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Mar 9, 2007
1 parent 048851d commit d8f69c0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG
Expand Up @@ -4,7 +4,8 @@

03082007 - Fixed a comment in physfs.h. Renamed win32.c to windows.c.
Cleaned up whitespace/formatting in pocketpc.c. Updated PocketPC
code to expect UTF-8 strings from the higher level.
code to expect UTF-8 strings from the higher level. Changed
PHYSFS_SUPPORTS_LZMA to PHYSFS_SUPPORTS_7Z.
11052006 - More 7zip archiver work (thanks, Dennis!). Initial Unicode work.
Minor BeOS realpath tweak.
09272006 - Reworked 7zip archiver (thanks, Dennis!).
Expand Down
4 changes: 2 additions & 2 deletions archivers/lzma.c
Expand Up @@ -11,7 +11,7 @@
# include <config.h>
#endif

#if (defined PHYSFS_SUPPORTS_LZMA)
#if (defined PHYSFS_SUPPORTS_7Z)

#include <stdlib.h>
#include <string.h>
Expand Down Expand Up @@ -680,7 +680,7 @@ const PHYSFS_Archiver __PHYSFS_Archiver_LZMA =
LZMA_fileClose /* fileClose() method */
};

#endif /* defined PHYSFS_SUPPORTS_LZMA */
#endif /* defined PHYSFS_SUPPORTS_7Z */

/* end of lzma.c ... */

8 changes: 4 additions & 4 deletions physfs.c
Expand Up @@ -55,13 +55,13 @@ typedef struct __PHYSFS_ERRMSGTYPE__


/* The various i/o drivers... */

/* !!! FIXME: consolidate these into one struct? */
#if (defined PHYSFS_SUPPORTS_ZIP)
extern const PHYSFS_ArchiveInfo __PHYSFS_ArchiveInfo_ZIP;
extern const PHYSFS_Archiver __PHYSFS_Archiver_ZIP;
#endif

#if (defined PHYSFS_SUPPORTS_LZMA)
#if (defined PHYSFS_SUPPORTS_7Z)
extern const PHYSFS_ArchiveInfo __PHYSFS_ArchiveInfo_LZMA;
extern const PHYSFS_Archiver __PHYSFS_Archiver_LZMA;
#endif
Expand Down Expand Up @@ -105,7 +105,7 @@ static const PHYSFS_ArchiveInfo *supported_types[] =
&__PHYSFS_ArchiveInfo_ZIP,
#endif

#if (defined PHYSFS_SUPPORTS_LZMA)
#if (defined PHYSFS_SUPPORTS_7Z)
&__PHYSFS_ArchiveInfo_LZMA,
#endif

Expand Down Expand Up @@ -142,7 +142,7 @@ static const PHYSFS_Archiver *archivers[] =
&__PHYSFS_Archiver_ZIP,
#endif

#if (defined PHYSFS_SUPPORTS_LZMA)
#if (defined PHYSFS_SUPPORTS_7Z)
&__PHYSFS_Archiver_LZMA,
#endif

Expand Down

0 comments on commit d8f69c0

Please sign in to comment.