aboutsummaryrefslogtreecommitdiff
path: root/include/irrTypes.h
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-08-30 20:44:51 +0200
committersfan5 <sfan5@live.de>2021-08-30 20:55:06 +0200
commit75b4c05741e4cb42a0705341b2b696aa0e9a73c0 (patch)
treec309e5aa6e3c5ef940745e53d9c7b13b4d389912 /include/irrTypes.h
parent2dc2846c3f8ec461c95e3b5e4f8e672f08eb31b5 (diff)
downloadirrlicht-75b4c05741e4cb42a0705341b2b696aa0e9a73c0.tar.xz
Drop _IRR_WCHAR_FILESYSTEM
never used and never worked for us.
Diffstat (limited to 'include/irrTypes.h')
-rw-r--r--include/irrTypes.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/include/irrTypes.h b/include/irrTypes.h
index 184870d..e3561cf 100644
--- a/include/irrTypes.h
+++ b/include/irrTypes.h
@@ -73,22 +73,6 @@ typedef double f64;
#define swprintf_irr _snwprintf
#define snprintf_irr _snprintf
#endif
-
-// define the wchar_t type if not already built in.
-#ifdef _MSC_VER
-#ifndef _WCHAR_T_DEFINED
-//! A 16 bit wide character type.
-/**
- Defines the wchar_t-type.
- In VS6, its not possible to tell
- the standard compiler to treat wchar_t as a built-in type, and
- sometimes we just don't want to include the huge stdlib.h or wchar.h,
- so we'll use this.
-*/
-typedef unsigned short wchar_t;
-#define _WCHAR_T_DEFINED
-#endif // wchar is not defined
-#endif // microsoft compiler
#else
#define swprintf_irr swprintf
#define snprintf_irr snprintf
@@ -98,18 +82,8 @@ namespace irr
{
//! Type name for character type used by the file system.
-/** Should the wide character version of the FileSystem be used it is a
-16 bit character variable. Used for Unicode Filesystem and Unicode strings.
-Else it is a 8 bit character variable. Used for ansi Filesystem and non-unicode
-strings
-*/
-#if defined(_IRR_WCHAR_FILESYSTEM)
- typedef wchar_t fschar_t;
- #define _IRR_TEXT(X) L##X
-#else
typedef char fschar_t;
#define _IRR_TEXT(X) X
-#endif
} // end namespace irr