Francois Gouget : port/getopt: s/#if/#ifdef/ so it still works if HAVE_STRING_H is not defined.
Alexandre Julliard
julliard at winehq.org
Wed Mar 5 06:24:24 CST 2008
Module: wine
Branch: master
Commit: 8d8b44089d714886d891b69db100a3e1b9b88260
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8d8b44089d714886d891b69db100a3e1b9b88260
Author: Francois Gouget <fgouget at free.fr>
Date: Wed Mar 5 12:07:04 2008 +0100
port/getopt: s/#if/#ifdef/ so it still works if HAVE_STRING_H 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 dae56ec..7bcf279 100644
--- a/libs/port/getopt.c
+++ b/libs/port/getopt.c
@@ -212,7 +212,7 @@ static char *posixly_correct;
# define my_index strchr
#else
-# if HAVE_STRING_H
+# ifdef HAVE_STRING_H
# include <string.h>
# else
# include <strings.h>
More information about the wine-cvs
mailing list