From: arai Date: Sat, 18 May 2002 17:43:41 +0000 (+0000) Subject: * src/lha_macro.h: specify "b" modifier always (for mingw32). X-Git-Url: http://git.sourceforge.jp/view?p=lha%2Flha.git;a=commitdiff_plain;h=718734b3f6a2f888823eb1d36869b0a7f85fea18 * src/lha_macro.h: specify "b" modifier always (for mingw32). git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@50 6a8cc165-1e22-0410-a132-eb4e3f353aba --- diff --git a/src/lha_macro.h b/src/lha_macro.h index 27518de..81ce6ef 100644 --- a/src/lha_macro.h +++ b/src/lha_macro.h @@ -309,7 +309,7 @@ typedef short node; #define is_symlink(statp) (((statp)->st_mode & S_IFMT) == S_IFLNK) #define is_regularfile(statp) (((statp)->st_mode & S_IFMT) == S_IFREG) -#ifdef MSDOS +#if 1 /* assume that fopen() will accepts "b" as binary mode on all system. */ #define WRITE_BINARY "wb" #define READ_BINARY "rb" #else