mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 21:39:47 +00:00
Use autoconf to check for endian.h.
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
#ifndef ENDIAN_H_COMPAT_SHIM
|
||||
#define ENDIAN_H_COMPAT_SHIM
|
||||
|
||||
#if defined(__linux__) || defined(__CYGWIN__) || defined(__EMSCRIPTEN__)
|
||||
#if defined(HAVE_ENDIAN_H)
|
||||
# pragma GCC system_header // Silence "warning: #include_next is a GCC extension"
|
||||
# include_next <endian.h>
|
||||
#elif defined(__APPLE__)
|
||||
|
||||
Reference in New Issue
Block a user