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

Alexandre Julliard julliard at winehq.org
Thu Mar 6 11:08:36 CST 2008


Module: wine
Branch: master
Commit: 63040e4d90e5de7b6420ab1490680cc98f4490d1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=63040e4d90e5de7b6420ab1490680cc98f4490d1

Author: Francois Gouget <fgouget at free.fr>
Date:   Thu Mar  6 12:35:33 2008 +0100

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

---

 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




More information about the wine-cvs mailing list