Alexandre Julliard : Revert "wpp: config.h and wine/port. h should be included first."

Alexandre Julliard julliard at winehq.org
Mon Jun 30 09:18:23 CDT 2008


Module: wine
Branch: master
Commit: 8e729245412e6b1e24b9871a0252b7e660fd24ec
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8e729245412e6b1e24b9871a0252b7e660fd24ec

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Jun 30 16:17:35 2008 +0200

Revert "wpp: config.h and wine/port.h should be included first."

This reverts commit 33017b0d936597d55025e006a6dc2bbf4ef733c4.
Some distros still ship flex 2.5.4 unfortunately.

---

 libs/wpp/ppl.l |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/libs/wpp/ppl.l b/libs/wpp/ppl.l
index d500aef..4bb928c 100644
--- a/libs/wpp/ppl.l
+++ b/libs/wpp/ppl.l
@@ -121,11 +121,6 @@
  *
  */
 
-%top{
-#include "config.h"
-#include "wine/port.h"
-}
-
 /*
  * Special flex options and exclusive scanner start-conditions
  */
@@ -161,6 +156,8 @@ 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