summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/fxcrt/fx_basic_util.cpp3
-rw-r--r--core/fxcrt/fx_system.h3
2 files changed, 1 insertions, 5 deletions
diff --git a/core/fxcrt/fx_basic_util.cpp b/core/fxcrt/fx_basic_util.cpp
index 7730866c73..9491e36e71 100644
--- a/core/fxcrt/fx_basic_util.cpp
+++ b/core/fxcrt/fx_basic_util.cpp
@@ -177,9 +177,6 @@ bool FX_GetNextFile(FX_FileHandle* handle,
if (!FindNextFileA(handle->m_Handle, &handle->m_FindData))
handle->m_bEnd = true;
return true;
-#elif defined(__native_client__)
- abort();
- return false;
#else
struct dirent* de = readdir(handle);
if (!de)
diff --git a/core/fxcrt/fx_system.h b/core/fxcrt/fx_system.h
index e9288641b8..a3dc21bb46 100644
--- a/core/fxcrt/fx_system.h
+++ b/core/fxcrt/fx_system.h
@@ -283,8 +283,7 @@ int FXSYS_round(float f);
// Handle differnces between platform's variadic function implementations.
#if defined(__ARMCC_VERSION) || \
(!defined(_MSC_VER) && (_FX_CPU_ == _FX_X64_ || _FX_CPU_ == _FX_IA64_ || \
- _FX_CPU_ == _FX_ARM64_)) || \
- defined(__native_client__)
+ _FX_CPU_ == _FX_ARM64_))
#define FX_VA_COPY(dst, src) va_copy((dst), (src))
#else
#define FX_VA_COPY(dst, src) ((dst) = (src))