fixed emx compilation?
This commit is contained in:
parent
88a5c07469
commit
b4bac23b00
@ -45,11 +45,12 @@
|
|||||||
#include <sys/nls.h>
|
#include <sys/nls.h>
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
__inline__ int tolower(int c) { return _nls_tolower((unsigned char)(c)); }
|
||||||
__inline__ int tolower(int a) { return _nls_tolower((unsigned char)(a)); }
|
__inline__ int toupper(int c) { return _nls_toupper((unsigned char)(c)); }
|
||||||
__inline__ int toupper(int a) { return _nls_toupper((unsigned char)(a)); }
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
#define tolower(c) _nls_tolower((unsigned char)(c))
|
||||||
|
#define toupper(c) _nls_toupper((unsigned char)(c))
|
||||||
#endif
|
#endif
|
||||||
#elif defined(__WIN32__)
|
#elif defined(__WIN32__)
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
Reference in New Issue
Block a user