port: s/#if/#ifdef/ so it still works if HAVE_XXX is not defined.

Francois Gouget fgouget at free.fr
Thu Mar 6 05:35:33 CST 2008


---

That's a pretty weird construct for something that may be undefined.

 libs/port/getopt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libs/port/getopt.c b/libs/port/getopt.c
index 7bcf279..be82779 100644
--- a/libs/port/getopt.c
+++ b/libs/port/getopt.c
@@ -77,7 +77,7 @@
 
 #ifdef VMS
 # include <unixlib.h>
-# if HAVE_STRING_H - 0
+# ifdef HAVE_STRING_H
 #  include <string.h>
 # endif
 #endif
-- 
1.5.4.1




More information about the wine-patches mailing list