Fixed synchronet disabling macro, reverted back all the changes from gctype.h for emx
This commit is contained in:
parent
b4bac23b00
commit
2b647df906
@ -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
|
||||
|
@ -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
|
||||
|
@ -439,7 +439,7 @@ public:
|
||||
#ifndef GCFG_NOXMAIL
|
||||
void ReadXMail(char* tag);
|
||||
#endif
|
||||
#ifndef GCFG_NOSBBS
|
||||
#ifndef GCFG_NOSYNCHRONET
|
||||
void ReadSynchronet(char* tag);
|
||||
#endif
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user