Skip to content

Commit

Permalink
Eliminate DMDV1/DMDV2
Browse files Browse the repository at this point in the history
  • Loading branch information
yebblies committed Jan 2, 2015
1 parent 2c988b2 commit 0135939
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/mars.h
Expand Up @@ -73,9 +73,6 @@ the target object file format:

void unittests();

#define DMDV1 0
#define DMDV2 1 // Version 2.0 features

struct OutBuffer;

// Can't include arraytypes.h here, need to declare these directly.
Expand Down
2 changes: 1 addition & 1 deletion src/posix.mak
Expand Up @@ -92,7 +92,7 @@ MMD=-MMD -MF $(basename $@).deps
# Default compiler flags for all source files
CFLAGS := $(WARNINGS) \
-fno-exceptions -fno-rtti \
-D__pascal= -DMARS=1 -DTARGET_$(OS_UPCASE)=1 -DDM_TARGET_CPU_$(TARGET_CPU)=1 \
-D__pascal= -DMARS=1 -DTARGET_$(OS_UPCASE)=1 -DDM_TARGET_CPU_$(TARGET_CPU)=1 -DDMDV2=1 \

ifneq (,$(DEBUG))
ENABLE_DEBUG := 1
Expand Down
2 changes: 1 addition & 1 deletion src/win32.mak
Expand Up @@ -121,7 +121,7 @@ BFLAGS=
# Compile flags
CFLAGS=-I$(INCLUDE) $(OPT) $(CFLAGS) $(DEBUG) -cpp -DTARGET_WINDOS=1 -DDM_TARGET_CPU_X86=1
# Compile flags for modules with backend/toolkit dependencies
MFLAGS=-I$C;$(TK) $(OPT) -DMARS -cpp $(DEBUG) -e -wx -DTARGET_WINDOS=1 -DDM_TARGET_CPU_X86=1
MFLAGS=-I$C;$(TK) $(OPT) -DMARS -cpp $(DEBUG) -e -wx -DTARGET_WINDOS=1 -DDM_TARGET_CPU_X86=1 -DDMDV2=1
# Recursive make
DMDMAKE=$(MAKE) -fwin32.mak C=$C TK=$(TK) ROOT=$(ROOT)

Expand Down

0 comments on commit 0135939

Please sign in to comment.