aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2003-10-03 21:12:49 +0000
committerJörg Mayer <jmayer@loplof.de>2003-10-03 21:12:49 +0000
commit391152faa51718a926143b6e7e10c0ceff718bdc (patch)
tree175ca46bba8cd685f4bacf4ae12a6ae0c954e722 /wiretap
parent6f1da2e1b2f498a0ce7aa6f6b7c678cd8190abd0 (diff)
Use #ifndef HAVE_UNISTD_H instead of #ifdef _WIN32
svn path=/trunk/; revision=8603
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/ascend-scanner.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/ascend-scanner.l b/wiretap/ascend-scanner.l
index c6fe90916a..86b860c22e 100644
--- a/wiretap/ascend-scanner.l
+++ b/wiretap/ascend-scanner.l
@@ -1,7 +1,7 @@
%{
/* ascend-scanner.l
*
- * $Id: ascend-scanner.l,v 1.25 2003/10/03 21:03:00 guy Exp $
+ * $Id: ascend-scanner.l,v 1.26 2003/10/03 21:12:49 jmayer Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
@@ -53,7 +53,7 @@ int mul, scratch;
#define NO_USER "<none>"
-#ifdef _WIN32
+#ifndef HAVE_UNISTD_H
#define YY_NO_UNISTD_H
#endif