summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-20 07:17:18 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-20 07:17:18 +0000
commit38daeba66b5d2a9f6fc4eda795b6c9b8c77a7b54 (patch)
treec813881903b95d5fa1d0d0d64ca4055d278e24c2 /src/common
parent7b13f57cb69e6b38aa793f135a3c673cc6e72398 (diff)
downloadhercules-38daeba66b5d2a9f6fc4eda795b6c9b8c77a7b54.tar.gz
hercules-38daeba66b5d2a9f6fc4eda795b6c9b8c77a7b54.tar.bz2
hercules-38daeba66b5d2a9f6fc4eda795b6c9b8c77a7b54.tar.xz
hercules-38daeba66b5d2a9f6fc4eda795b6c9b8c77a7b54.zip
- Changed the script source from unsigned char* to const char*.
- Updated plugins Makefile. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9532 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common')
-rw-r--r--src/common/cbasetypes.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/cbasetypes.h b/src/common/cbasetypes.h
index ad2b7c4ed..3ef6dfd2f 100644
--- a/src/common/cbasetypes.h
+++ b/src/common/cbasetypes.h
@@ -286,4 +286,10 @@ typedef char bool;
#endif
#endif /* ! defined(Assert) */
+//////////////////////////////////////////////////////////////////////////
+// Has to be unsigned to avoid problems in some systems
+#define TOLOWER(c) ((char)tolower((unsigned char)(c)))
+#define ISSPACE(c) ((char)isspace((unsigned char)(c)))
+#define ISALPHA(c) ((char)isalpha((unsigned char)(c)))
+
#endif /* _CBASETYPES_H_ */