diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2002-08-26 19:50:51 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2002-08-26 19:50:51 +0000 |
commit | 9c5b934b8e764ac066d638751b3496dc619a354a (patch) | |
tree | edf78bf58b2a656386169618281390736f24f3a8 /archivers/unrar | |
parent | Upgrade to 3.00 (diff) |
Define wchar properly
Notes
Notes:
svn path=/head/; revision=65058
Diffstat (limited to 'archivers/unrar')
-rw-r--r-- | archivers/unrar/files/patch-aa | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/archivers/unrar/files/patch-aa b/archivers/unrar/files/patch-aa index 89892c822982..6e1a5dc0f733 100644 --- a/archivers/unrar/files/patch-aa +++ b/archivers/unrar/files/patch-aa @@ -1,11 +1,11 @@ ---- getopt.c.orig Thu Jun 6 17:43:00 2002 -+++ getopt.c Thu Jun 6 17:43:12 2002 -@@ -270,7 +270,7 @@ - MUCHelp20,MUCHelp21,"\n"}; - int I; - for (I=0;I<sizeof(Help)/sizeof(Help[0]);I++) -- mprintf(Help[I]); -+ mprintf("%s", Help[I]); - } - +--- rartypes.hpp.bak Tue May 14 16:41:23 2002 ++++ rartypes.hpp Mon Aug 26 23:32:38 2002 +@@ -8,7 +8,7 @@ + typedef unsigned int uint32; //32 bits exactly + #define PRESENT_INT32 +-#ifdef _WIN_32 ++#if defined(_WIN_32) || defined(__FreeBSD__) + typedef wchar_t wchar; + #elif defined(__GNUC__) + typedef __wchar_t wchar; |