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
# Uncomment to disable xMail support
#CPPFLAGS+=-DGCFG_NOXMAIL
# Uncomment to disable SBBS support
#CPPFLAGS+=-DGCFG_NOSBBS
# Uncomment to disable Synchronet BBS support
#CPPFLAGS+=-DGCFG_NOSYNCHRONET

View File

@ -43,12 +43,6 @@
#include <ctype.h>
#if defined(__EMX__)
#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 toupper(c) _nls_toupper((unsigned char)(c))
#endif

View File

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

View File

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