diff --git a/Makefile b/Makefile index ed2744c2..a98fd165 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,7 @@ else ifeq ($(shell uname -o),Msys) PLATFORM=mingw SOLIBDIR = $(BINDIR) +DIFFOPTS = -b else PLATFORM=unix endif @@ -92,7 +93,7 @@ cleaner: clean test-basic: chibi-scheme$(EXE) @for f in tests/basic/*.scm; do \ ./chibi-scheme$(EXE) $$f >$${f%.scm}.out 2>$${f%.scm}.err; \ - if diff -q $${f%.scm}.out $${f%.scm}.res; then \ + if diff -q $(DIFFOPTS) $${f%.scm}.out $${f%.scm}.res; then \ echo "[PASS] $${f%.scm}"; \ else \ echo "[FAIL] $${f%.scm}"; \ diff --git a/sexp.c b/sexp.c index dfaca5a1..d5a63443 100644 --- a/sexp.c +++ b/sexp.c @@ -2,7 +2,6 @@ /* Copyright (c) 2009 Alex Shinn. All rights reserved. */ /* BSD-style license: http://synthcode.com/license.txt */ -#define SEXP_API #include "chibi/sexp.h" /* optional huffman-compressed immediate symbols */