Browse Source

Add emscripten case to endian.h shim.

master
Eitan Isaacson 8 years ago
parent
commit
5f5fc4886b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/include/compat/endian.h

+ 1
- 1
src/include/compat/endian.h 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__)

Loading…
Cancel
Save