Alexandre Julliard : wpp: config.h and wine/port.h should be included first .
Alexandre Julliard
julliard at winehq.org
Mon Jun 30 08:27:03 CDT 2008
Module: wine
Branch: master
Commit: 33017b0d936597d55025e006a6dc2bbf4ef733c4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=33017b0d936597d55025e006a6dc2bbf4ef733c4
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Jun 30 12:52:00 2008 +0200
wpp: config.h and wine/port.h should be included first.
---
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 4bb928c..d500aef 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