Fix missing defines under Windows
parent
06a7abc9c8
commit
57337a5479
8
cpu.h
8
cpu.h
|
|
@ -657,12 +657,18 @@ inline int GetCacheLineSize()
|
||||||
#define INTEL_NOPREFIX ".intel_syntax;"
|
#define INTEL_NOPREFIX ".intel_syntax;"
|
||||||
#define ATT_PREFIX ".att_syntax;"
|
#define ATT_PREFIX ".att_syntax;"
|
||||||
#define ATT_NOPREFIX ".att_syntax;"
|
#define ATT_NOPREFIX ".att_syntax;"
|
||||||
#else
|
#elif defined(__GNUC__)
|
||||||
#define NEW_LINE
|
#define NEW_LINE
|
||||||
#define INTEL_PREFIX ".intel_syntax prefix;"
|
#define INTEL_PREFIX ".intel_syntax prefix;"
|
||||||
#define INTEL_NOPREFIX ".intel_syntax noprefix;"
|
#define INTEL_NOPREFIX ".intel_syntax noprefix;"
|
||||||
#define ATT_PREFIX ".att_syntax prefix;"
|
#define ATT_PREFIX ".att_syntax prefix;"
|
||||||
#define ATT_NOPREFIX ".att_syntax noprefix;"
|
#define ATT_NOPREFIX ".att_syntax noprefix;"
|
||||||
|
#else
|
||||||
|
#define NEW_LINE
|
||||||
|
#define INTEL_PREFIX
|
||||||
|
#define INTEL_NOPREFIX
|
||||||
|
#define ATT_PREFIX
|
||||||
|
#define ATT_NOPREFIX
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
NAMESPACE_END
|
NAMESPACE_END
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue