More tweaking to make it happy on both windows and *nix

This commit is contained in:
mvandervoord
2019-10-25 11:53:59 -04:00
parent 8d044e60c6
commit 15631f1c78
2 changed files with 14 additions and 2 deletions
+5 -1
View File
@@ -6,7 +6,11 @@ endif
CFLAGS += -std=c99 -pedantic -Wall -Wextra -Werror
CFLAGS += $(DEBUG)
DEFINES = -D UNITY_OUTPUT_CHAR=UnityOutputCharSpy_OutputChar
DEFINES += -D UNITY_OUTPUT_CHAR_HEADER_DECLARATION=UnityOutputCharSpy_OutputChar(int)
ifeq ($(OS),Windows_NT)
DEFINES += -D UNITY_OUTPUT_CHAR_HEADER_DECLARATION=UnityOutputCharSpy_OutputChar(int)
else
DEFINES += -D UNITY_OUTPUT_CHAR_HEADER_DECLARATION=UnityOutputCharSpy_OutputChar\(int\)
endif
SRC = ../src/unity_fixture.c \
../../../src/unity.c \
unity_fixture_Test.c \