Add guard to YY_NO_UNISTD_H definition.

Closes #2444.
master
safety0ff 2011-01-24 13:09:16 -05:00
parent 8ecf322cc7
commit f1ebbe6eba
1 changed files with 1 additions and 1 deletions

View File

@ -588,7 +588,7 @@
#endif
// Tell Flex not to include unistd when it is not present.
#ifndef HAVE_UNISTD_H
#if !defined(HAVE_UNISTD_H) && !defined(YY_NO_UNISTD_H)
# define YY_NO_UNISTD_H
#endif