Skip to content

Commit

Permalink
Add emscripten case to endian.h shim.
Browse files Browse the repository at this point in the history
  • Loading branch information
eeejay committed Jan 5, 2017
1 parent 7758434 commit 5f5fc48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/compat/endian.h
Expand Up @@ -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__)
Expand Down

0 comments on commit 5f5fc48

Please sign in to comment.