diff --git a/Makefile b/Makefile index 763ab95c8f..8be348d63b 100644 --- a/Makefile +++ b/Makefile @@ -177,7 +177,7 @@ endif CFLAGS += -Wall $(OPTIMIZE_FLAG) -g -I. -pedantic ifeq ($(CXX_BUILD), 1) - CFLAGS += -std=c++0x -xc++ + CFLAGS += -std=c++0x -xc++ -D__STDC_CONSTANT_MACROS else ifneq ($(findstring icc,$(CC)),) CFLAGS += -std=c99 -D_GNU_SOURCE diff --git a/Makefile.win b/Makefile.win index 7b2aa7a1a1..c2f209940e 100644 --- a/Makefile.win +++ b/Makefile.win @@ -145,7 +145,7 @@ endif CFLAGS += -Wall -O3 -I. ifeq ($(CXX_BUILD), 1) - CFLAGS += -std=c++0x -xc++ + CFLAGS += -std=c++0x -xc++ -D__STDC_CONSTANT_MACROS else CFLAGS += -std=gnu99 endif diff --git a/record/ffemu.c b/record/ffemu.c index 73dd77f348..6a369e47a0 100644 --- a/record/ffemu.c +++ b/record/ffemu.c @@ -15,10 +15,6 @@ * If not, see . */ -#ifndef __STDC_CONSTANT_MACROS -#define __STDC_CONSTANT_MACROS -#endif - #ifdef __cplusplus extern "C" { #endif