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

@@ -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