mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2 91177308-0d34-0410-b5e6-96231b3b80d8
27 lines
460 B
C
27 lines
460 B
C
|
|
// TODO: This file sucks. Not only does it not work, but this stuff should be
|
|
// autoconfiscated anyways. Major FIXME
|
|
|
|
|
|
#ifndef LLVM_TOOLS_DATATYPES_H
|
|
#define LLVM_TOOLS_DATATYPES_H
|
|
|
|
// Should define the following:
|
|
// LITTLE_ENDIAN if applicable
|
|
// int64_t
|
|
// uint64_t
|
|
|
|
#ifdef LINUX
|
|
#include <stdint.h> // Defined by ISO C 99
|
|
#include <endian.h>
|
|
|
|
#else
|
|
#include <sys/types.h>
|
|
#ifdef _LITTLE_ENDIAN
|
|
#define LITTLE_ENDIAN 1
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#endif
|