tests: fix spurious failure on systems lacking unistd.h
authorPeter Rosin <peda@lysator.liu.se>
Tue, 20 Dec 2011 20:42:54 +0000 (21:42 +0100)
committerPeter Rosin <peda@lysator.liu.se>
Tue, 20 Dec 2011 20:42:54 +0000 (21:42 +0100)
commit7f713c38e4e1ad3c3cca73e6cd23d605ad7b886e
treecb2939eeb5502cd7ac8c6244831aa6e022c7677d
parent63da4921d542b2c329cf95f58c955b9972c5d161
tests: fix spurious failure on systems lacking unistd.h

This is for automake bug#10324.

* tests/silent-lex-generic.test (foo.l): Add a dummy #define of
YY_NO_UNISTD_H, so that the generated foo.c file won't require
unistd.h to be present (it is not present when compiling with,
e.g., MSVC 9).
ChangeLog
tests/silent-lex-generic.test