mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Add support for MacOS and (hopefully) other BSD derivatives.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3717 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
655fb5c817
commit
0d0d3ee9a7
@ -23,7 +23,11 @@
|
||||
#include <inttypes.h>
|
||||
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
# include <endian.h>
|
||||
#else
|
||||
#if (BSD >= 199103)
|
||||
# include <machine/endian.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __sparc__
|
||||
|
Loading…
x
Reference in New Issue
Block a user