Michael Stefaniuc : Revert "Revert "wpp: config.h and wine/port. h should be included first."".
Alexandre Julliard
julliard at winehq.org
Wed Dec 30 10:18:14 CST 2009
Module: wine
Branch: master
Commit: e470475151692bd498124f1d3a7e2fca4be9092a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e470475151692bd498124f1d3a7e2fca4be9092a
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Tue Dec 29 18:07:44 2009 +0100
Revert "Revert "wpp: config.h and wine/port.h should be included first."".
This reverts commit 8e729245412e6b1e24b9871a0252b7e660fd24ec.
Wine now requires a new enough flex version.
---
libs/wpp/ppl.l | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/libs/wpp/ppl.l b/libs/wpp/ppl.l
index 05e7af2..1ce98fb 100644
--- a/libs/wpp/ppl.l
+++ b/libs/wpp/ppl.l
@@ -121,6 +121,11 @@
*
*/
+%top{
+#include "config.h"
+#include "wine/port.h"
+}
+
/*
* Special flex options and exclusive scanner start-conditions
*/
@@ -156,8 +161,6 @@ cident [a-zA-Z_][0-9a-zA-Z_]*
ul [uUlL]|[uUlL][lL]|[lL][uU]|[lL][lL][uU]|[uU][lL][lL]|[lL][uU][lL]
%{
-#include "config.h"
-#include "wine/port.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
More information about the wine-cvs
mailing list