Subversion Repositories Kolibri OS

Rev

Rev 6764 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6764 Rev 6775
Line 16... Line 16...
16
#define DIR_END       '/'
16
#define DIR_END       '/'
17
#define NO_STRNICMP
17
#define NO_STRNICMP
18
#define STRNICMP zstrnicmp
18
#define STRNICMP zstrnicmp
19
#define NO_CHMOD
19
#define NO_CHMOD
20
#define NO_FCHOWN
20
#define NO_FCHOWN
-
 
21
//#define SET_DIR_ATTRIB   internal unzip bug
Line 21... Line 22...
21
 
22
 
22
#define echoff(f)
23
#define echoff(f)
23
#define echon()
24
#define echon()
24
#define getch() getchar() /* not correct, but may not be on a console */
25
#define getch() getchar() /* not correct, but may not be on a console */
Line -... Line 26...
-
 
26
#define HAVE_WORKING_GETCH
25
#define HAVE_WORKING_GETCH
27
 
-
 
28
/* next line turn on full unicode utf-8 support */
26
 
29
//#define UNICODE_SUPPORT
27
#define UNICODE_SUPPORT
30
#ifdef UNICODE_SUPPORT
-
 
31
#   define UTF8_MAYBE_NATIVE
-
 
32
#   define NO_NL_LANGINFO
-
 
33
#else /* cp866 is native */
-
 
34
#   define CRTL_CP_IS_OEM
-
 
35
#endif // UNICODE_SUPPORT
-
 
36
 
-
 
37
/*
-
 
38
#  ifdef CRTL_CP_IS_OEM
-
 
39
#   define ISO_TO_INTERN(src, dst)  AnsiToOem(src, dst)
-
 
40
#   define OEM_TO_INTERN(src, dst)  {if ((src) != (dst)) strcpy((dst), (src));}
-
 
41
#   define INTERN_TO_ISO(src, dst)  OemToAnsi(src, dst)
-
 
42
#   define INTERN_TO_OEM(src, dst)  {if ((src) != (dst)) strcpy((dst), (src));}
-
 
43
#  endif
-
 
44
#  define _OEM_INTERN(str1) OEM_TO_INTERN(str1, str1)
-
 
45
#  define _ISO_INTERN(str1) ISO_TO_INTERN(str1, str1)
-
 
46
*/
-
 
47
/* UzpPassword supplies ANSI-coded string regardless of C RTL's native CP */
-
 
48
// remove for a while
-
 
49
// #  define STR_TO_CP2(dst, src)  (AnsiToOem(src, dst), dst)
-
 
50
   /* dummy defines to disable these functions, they are not needed */
-
 
51
#  define STR_TO_ISO
-
 
52
#  define STR_TO_OEM
28
#define UTF8_MAYBE_NATIVE
53
 
29
#define NO_NL_LANGINFO
54
 
30
/*
55
/*
31
#  ifdef DATE_FORMAT
56
#  ifdef DATE_FORMAT
32
#    undef DATE_FORMAT
57
#    undef DATE_FORMAT