Skip to content

Commit 79a5e0a

Browse files
committed
fix #581: \\[cmd] fails
1 parent 51303ee commit 79a5e0a

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ DEVFLAGS = -O0 -g3 -DDEBUG -Wall
77
OS := $(shell uname -s | tr "[:upper:]" "[:lower:]")
88

99
# Win-64
10-
ifeq (msys_nt-10.0,$(OS))
10+
ifeq (msys_nt-10.0-18363,$(OS))
1111
CC=gcc -DWIN32=1
1212
PRODFLAGS += -D_FILE_OFFSET_BITS=64
1313
LDFLAGS = -lws2_32 -static -lpthread

src/tests.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1109,9 +1109,15 @@ Z I testsBook()
11091109
TC(" abcd", 7$`abcd)
11101110
TC(" 2.35", 7.2 $ 2.345)
11111111
TC(" 714.00", 7.2 $ 714)
1112+
#ifndef WIN32
11121113
TC("1.2e-34", $ 1.2e-34)
11131114
TC("2.35e+00 " , -9.2 $ 2.345)
11141115
TC("7.14e+02 " , -9.2 $ 714)
1116+
#else
1117+
TC("1.2e-034", $ 1.2e-34)
1118+
TC("2.35e+000", $ -9.2 $ 2.345)
1119+
TC("7.14e+002", $ -9.2 $ 714)
1120+
#endif
11151121
TC(27, 0$"27")
11161122
TC(3.4, 0.0$"3.4")
11171123
TC(27.0 , 0.0$"27")

0 commit comments

Comments
 (0)