Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6774 → Rev 6775

/programs/fs/unzip60/kolibri/config.h
18,6 → 18,7
#define STRNICMP zstrnicmp
#define NO_CHMOD
#define NO_FCHOWN
//#define SET_DIR_ATTRIB internal unzip bug
 
#define echoff(f)
#define echon()
24,10 → 25,34
#define getch() getchar() /* not correct, but may not be on a console */
#define HAVE_WORKING_GETCH
 
#define UNICODE_SUPPORT
/* next line turn on full unicode utf-8 support */
//#define UNICODE_SUPPORT
#ifdef UNICODE_SUPPORT
#define UTF8_MAYBE_NATIVE
#define NO_NL_LANGINFO
#else /* cp866 is native */
# define CRTL_CP_IS_OEM
#endif // UNICODE_SUPPORT
 
/*
# ifdef CRTL_CP_IS_OEM
# define ISO_TO_INTERN(src, dst) AnsiToOem(src, dst)
# define OEM_TO_INTERN(src, dst) {if ((src) != (dst)) strcpy((dst), (src));}
# define INTERN_TO_ISO(src, dst) OemToAnsi(src, dst)
# define INTERN_TO_OEM(src, dst) {if ((src) != (dst)) strcpy((dst), (src));}
# endif
# define _OEM_INTERN(str1) OEM_TO_INTERN(str1, str1)
# define _ISO_INTERN(str1) ISO_TO_INTERN(str1, str1)
*/
/* UzpPassword supplies ANSI-coded string regardless of C RTL's native CP */
// remove for a while
// # define STR_TO_CP2(dst, src) (AnsiToOem(src, dst), dst)
/* dummy defines to disable these functions, they are not needed */
# define STR_TO_ISO
# define STR_TO_OEM
 
 
/*
# ifdef DATE_FORMAT
# undef DATE_FORMAT
# endif