[PATCH] configure: Use a real header guard for config.h.
Charles Davis
cdavis5x at gmail.com
Mon Aug 12 16:07:06 CDT 2013
---
configure.ac | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 0e3df61..5d68746 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2526,9 +2526,11 @@ esac
dnl **** Generate output files ****
-AH_TOP([#ifndef WINE_CROSSTEST
-#define __WINE_CONFIG_H])
-AH_BOTTOM([#endif /* WINE_CROSSTEST */])
+AH_TOP([#ifndef __WINE_CONFIG_H
+#define __WINE_CONFIG_H
+#ifndef WINE_CROSSTEST])
+AH_BOTTOM([#endif /* WINE_CROSSTEST */
+#endif /* __WINE_CONFIG_H */])
AC_CONFIG_COMMANDS([include/stamp-h], [echo timestamp > include/stamp-h])
--
1.7.5.4
More information about the wine-patches
mailing list