summaryrefslogtreecommitdiff
path: root/src/3rdparty/squirrel/include
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-09-06 17:36:29 +0000
committerrubidium <rubidium@openttd.org>2014-09-06 17:36:29 +0000
commitad315ef6d906100550a0ba12a7ca71b329804966 (patch)
treea46cc38347a0752f4bc35e1dc5f8177ac8b064f7 /src/3rdparty/squirrel/include
parent7c4e9dd71d6f02f686c52551ccdcc27b89ef8025 (diff)
downloadopenttd-ad315ef6d906100550a0ba12a7ca71b329804966.tar.xz
(svn r26772) -Cleanup [Squirrel]: remove traces to SQUNICODE define
Diffstat (limited to 'src/3rdparty/squirrel/include')
-rw-r--r--src/3rdparty/squirrel/include/squirrel.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/3rdparty/squirrel/include/squirrel.h b/src/3rdparty/squirrel/include/squirrel.h
index 650edbe59..84f34dea9 100644
--- a/src/3rdparty/squirrel/include/squirrel.h
+++ b/src/3rdparty/squirrel/include/squirrel.h
@@ -89,46 +89,6 @@ struct SQClass;
struct SQInstance;
struct SQDelegable;
-//#ifdef _UNICODE
-//#define SQUNICODE
-//#endif
-
-#ifdef SQUNICODE
-#if (defined(_MSC_VER) && _MSC_VER >= 1400) // 1400 = VS8
-
-#ifndef _WCHAR_T_DEFINED //this is if the compiler considers wchar_t as native type
-typedef unsigned short wchar_t;
-#endif
-#endif
-
-typedef wchar_t SQChar;
-#define _SC(a) L##a
-#define scstrcmp wcscmp
-#define scsprintf swprintf
-#define scsnprintf _snwprintf
-#define scstrlen wcslen
-#define scstrtod wcstod
-#define scstrtol wcstol
-#define scatoi _wtoi
-#define scstrtoul wcstoul
-#define scvsprintf vswprintf
-#define scstrstr wcsstr
-#define scisspace iswspace
-#define scisdigit iswdigit
-#define scisxdigit iswxdigit
-#define scisalpha iswalpha
-#define sciscntrl iswcntrl
-#define scisalnum iswalnum
-#define scprintf wprintf
-#define scfprintf fwprintf
-#define scvprintf vwprintf
-#define scvfprintf vfwprintf
-#define scvsnprintf _vsnwprintf
-#define scstrdup _wcsdup
-#define scstrrchr wcsrchr
-#define scstrcat wcscat
-#define MAX_CHAR 0xFFFF
-#else
typedef char SQChar;
#define _SC(a) a
#define scstrcmp strcmp
@@ -156,7 +116,6 @@ typedef char SQChar;
#define scstrrchr strrchr
#define scstrcat strcat
#define MAX_CHAR 0xFFFF
-#endif
#if defined(_MSC_VER) || defined(__MINGW32__)
#define SQ_PRINTF64 _SC("%I64d")