Fixed synchronet disabling macro, reverted back all the changes from gctype.h for emx

This commit is contained in:
Alexander S. Aganichev 2002-10-04 20:08:17 +00:00
parent b4bac23b00
commit 2b647df906
4 changed files with 4 additions and 10 deletions

View File

@ -70,5 +70,5 @@
#CPPFLAGS+=-DGCFG_NOWMAIL #CPPFLAGS+=-DGCFG_NOWMAIL
# Uncomment to disable xMail support # Uncomment to disable xMail support
#CPPFLAGS+=-DGCFG_NOXMAIL #CPPFLAGS+=-DGCFG_NOXMAIL
# Uncomment to disable SBBS support # Uncomment to disable Synchronet BBS support
#CPPFLAGS+=-DGCFG_NOSBBS #CPPFLAGS+=-DGCFG_NOSYNCHRONET

View File

@ -43,12 +43,6 @@
#include <ctype.h> #include <ctype.h>
#if defined(__EMX__) #if defined(__EMX__)
#include <sys/nls.h> #include <sys/nls.h>
#ifdef __cplusplus
extern "C" {
__inline__ int tolower(int c) { return _nls_tolower((unsigned char)(c)); }
__inline__ int toupper(int c) { return _nls_toupper((unsigned char)(c)); }
}
#else
#define tolower(c) _nls_tolower((unsigned char)(c)) #define tolower(c) _nls_tolower((unsigned char)(c))
#define toupper(c) _nls_toupper((unsigned char)(c)) #define toupper(c) _nls_toupper((unsigned char)(c))
#endif #endif

View File

@ -439,7 +439,7 @@ public:
#ifndef GCFG_NOXMAIL #ifndef GCFG_NOXMAIL
void ReadXMail(char* tag); void ReadXMail(char* tag);
#endif #endif
#ifndef GCFG_NOSBBS #ifndef GCFG_NOSYNCHRONET
void ReadSynchronet(char* tag); void ReadSynchronet(char* tag);
#endif #endif

View File

@ -27,7 +27,7 @@
#include <cstdlib> #include <cstdlib>
#include <gcrcall.h> #include <gcrcall.h>
#include <gstrall.h> #include <gstrall.h>
#undef GCFG_NOCMAIL #undef GCFG_NOSYNCHRONET
#include <gedacfg.h> #include <gedacfg.h>
#include <gs_sync.h> #include <gs_sync.h>