Skip to content

Commit

Permalink
Common.h minor change
Browse files Browse the repository at this point in the history
git-svn-id: https://freearc.svn.sourceforge.net/svnroot/freearc@76 3a4f7f31-9599-433d-91b1-573e8b61252c
  • Loading branch information
bulatz committed Feb 14, 2009
1 parent 8f3f77e commit 7266c45
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Compression/Common.h
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,12 @@ static inline int file_exists (CFILENAME name) {return _taccess(name,0) == 0;}
typedef char* CFILENAME;
typedef char TCHAR;
#define _T
#define _tcschr strchr
#define _stprintf sprintf
#define _tcslen strlen
#define _tstat stat
#define _stat stat
#define _tcschr strchr
#define _tcscpy strcpy
#define _stprintf sprintf
#define _tcslen strlen
#define _tstat stat
#define _stat stat

static inline void delete_file (char *name) {remove(name);}
static inline void create_dir (char *name) {mkdir(name,0777);}
Expand Down

0 comments on commit 7266c45

Please sign in to comment.