Sort out shared pre-compiled header usage

Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
This commit is contained in:
Adrian.Conlon 2017-06-04 23:37:25 +01:00
parent 3325b07a28
commit 46b7acb69a
3 changed files with 8 additions and 7 deletions

View File

@ -11,6 +11,7 @@
#include <string>
#include <array>
#include <vector>
#include <bitset>
#if defined(_M_X64) || defined(_M_IX86 )
# define HOST_LITTLE_ENDIAN

View File

@ -4,6 +4,12 @@
#include <cstdint>
#include <string>
#if defined(_M_X64) || defined(_M_IX86 )
# define HOST_LITTLE_ENDIAN
#else
# define HOST_BIG_ENDIAN
#endif
namespace EightBit {
typedef union {

View File

@ -10,10 +10,4 @@
#include <string>
#include <array>
#include <vector>
#if defined(_M_X64) || defined(_M_IX86 )
# define HOST_LITTLE_ENDIAN
#else
# define HOST_BIG_ENDIAN
#endif
#include <vector>