Add emscripten case to endian.h shim.

This commit is contained in:
Eitan Isaacson
2017-01-05 10:29:25 -08:00
parent 7758434749
commit 5f5fc4886b
+1 -1
View File
@@ -19,7 +19,7 @@
#ifndef ENDIAN_H_COMPAT_SHIM
#define ENDIAN_H_COMPAT_SHIM
#if defined(__linux__) || defined(__CYGWIN__)
#if defined(__linux__) || defined(__CYGWIN__) || defined(__EMSCRIPTEN__)
# pragma GCC system_header // Silence "warning: #include_next is a GCC extension"
# include_next <endian.h>
#elif defined(__APPLE__)