Mercurial > hg > CbC > old > device
changeset 911:785b2bd38982
should fix compile time constant in gcc on linux
author | kono |
---|---|
date | Wed, 09 Apr 2014 14:39:32 +0900 |
parents | 3dc136c2e929 |
children | 553cd297b0a8 |
files | Makefile mc-code-i64.c |
diffstat | 2 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Wed Apr 09 12:24:24 2014 +0900 +++ b/Makefile Wed Apr 09 14:39:32 2014 +0900 @@ -1,4 +1,4 @@ -GCC = clang +GCC = gcc CC = $(GCC) -std=c99 $(CCEXT) $(M) -fgnu89-inline # -O3 # MCFLAG = -DUSE_CODE_KEYWORD
--- a/mc-code-i64.c Wed Apr 09 12:24:24 2014 +0900 +++ b/mc-code-i64.c Wed Apr 09 14:39:32 2014 +0900 @@ -116,7 +116,6 @@ #define __LDBL_MIN__ 3.36210314311209350626e-4932L\n\ #define __DEC32_MAX__ 9.999999E96DF\n\ #define __strong \n\ -#define __APPLE__ 1\n\ #define __DECIMAL_DIG__ 21\n\ #define __LDBL_HAS_QUIET_NAN__ 1\n\ #define __DYNAMIC__ 1\n\ @@ -161,7 +160,6 @@ #define __SSE_MATH__ 1\n\ #define __k8 1\n\ #define __LDBL_DIG__ 18\n\ -#define __x86_64__ 1\n\ #define __FLT_HAS_QUIET_NAN__ 1\n\ #define __FLT_MAX_10_EXP__ 38\n\ #define __LONG_MAX__ 9223372036854775807L\n\ @@ -246,7 +244,6 @@ #define __LDBL_MIN__ 3.36210314311209350626e-4932L \n\ #define __DEC32_MAX__ 9.999999E96DF \n\ #define __strong \n\ -#define __APPLE__ 1 \n\ #define __DECIMAL_DIG__ 21 \n\ #define __LDBL_HAS_QUIET_NAN__ 1 \n\ #define __DYNAMIC__ 1 \n\ @@ -269,7 +266,6 @@ #define __LONG_LONG_MAX__ 9223372036854775807LL \n\ #define __GXX_ABI_VERSION 1002 \n\ #define __FLT_MIN_EXP__ (-125) \n\ -#define __x86_64 1 \n\ #define __DBL_MIN__ 2.2250738585072014e-308 \n\ #define __LP64__ 1 \n\ #define __DBL_HAS_QUIET_NAN__ 1 \n\ @@ -343,6 +339,7 @@ #define __LDBL_MIN_10_EXP__ (-4931) \n\ #define __SSE3__ 1 \n\ #define __extension__\n\ +#define __x86_64__ 1\n\ " #endif