Unprotect string.h

Francois Gouget fgouget at free.fr
Sat May 7 06:59:39 CDT 2005


We never protect the string,h includes except in two places:

  * libs/port/getopt.c
    This code is not ours, we just imported it so it's best not to touch 
it.

  * programs/winemenubuilder/winemenubuilder.c
    That one is clearly ours.

So winemenubuilder.c is inconsistent with the rest of Wine. It does not 
matter much but I prefer things to be consistent so this patch removes 
the HAVE_STRING_H check.

Changelog:

  * programs/winemenubuilder/winemenubuilder.c
    winemenubuilder.c is the only Wine source file checking for 
HAVE_STRING_H. Remvoe that check for consistency.


-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
                      Avoid the Gates of Hell - use Linux.
-------------- next part --------------
Index: programs/winemenubuilder/winemenubuilder.c
===================================================================
RCS file: /var/cvs/wine/programs/winemenubuilder/winemenubuilder.c,v
retrieving revision 1.27
diff -u -p -r1.27 winemenubuilder.c
--- programs/winemenubuilder/winemenubuilder.c	15 Apr 2005 16:10:53 -0000	1.27
+++ programs/winemenubuilder/winemenubuilder.c	5 May 2005 17:24:58 -0000
@@ -39,9 +39,7 @@
 
 #include <ctype.h>
 #include <stdio.h>
-#ifdef HAVE_STRING_H
 #include <string.h>
-#endif
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif


More information about the wine-patches mailing list