summaryrefslogtreecommitdiff
path: root/core/fxcrt
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt')
-rw-r--r--core/fxcrt/fx_basic_gcc.cpp4
-rw-r--r--core/fxcrt/fx_system.h10
2 files changed, 0 insertions, 14 deletions
diff --git a/core/fxcrt/fx_basic_gcc.cpp b/core/fxcrt/fx_basic_gcc.cpp
index ce1f813b5a..8a65576b39 100644
--- a/core/fxcrt/fx_basic_gcc.cpp
+++ b/core/fxcrt/fx_basic_gcc.cpp
@@ -135,10 +135,6 @@ uint32_t FXSYS_GetModuleFileName(void* hModule, char* buf, uint32_t bufsize) {
#ifdef __cplusplus
extern "C" {
#endif
-FILE* FXSYS_wfopen(const wchar_t* filename, const wchar_t* mode) {
- return fopen(CFX_ByteString::FromUnicode(filename).c_str(),
- CFX_ByteString::FromUnicode(mode).c_str());
-}
char* FXSYS_strlwr(char* str) {
if (!str) {
return nullptr;
diff --git a/core/fxcrt/fx_system.h b/core/fxcrt/fx_system.h
index 1e66e7bb80..5e8aa6c0e6 100644
--- a/core/fxcrt/fx_system.h
+++ b/core/fxcrt/fx_system.h
@@ -122,16 +122,6 @@ void FXSYS_vsnprintf(char* str, size_t size, const char* fmt, va_list ap);
#define FXSYS_sprintf DO_NOT_USE_SPRINTF_DIE_DIE_DIE
#define FXSYS_vsprintf DO_NOT_USE_VSPRINTF_DIE_DIE_DIE
-#if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_
-#ifdef _NATIVE_WCHAR_T_DEFINED
-#define FXSYS_wfopen(f, m) _wfopen((const wchar_t*)(f), (const wchar_t*)(m))
-#else
-#define FXSYS_wfopen _wfopen
-#endif // _NATIVE_WCHAR_T_DEFINED
-#else
-FILE* FXSYS_wfopen(const wchar_t* filename, const wchar_t* mode);
-#endif // _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_
-
#ifdef __cplusplus
} // extern "C"