[ros-diffs] [cfinck] 28566: More build fixes for Mac OS X by changing the header order (wrc.h, which includes windef.h, which includes winnt.h has to be included before stdlib.h) I know that this is another change in a Wine-shared component, but as long as we don't come to a better solution for these problems, I'll continue doing such small changes for fixing the build.

cfinck at svn.reactos.org cfinck at svn.reactos.org
Sun Aug 26 00:12:25 CEST 2007


Author: cfinck
Date: Sun Aug 26 02:12:24 2007
New Revision: 28566

URL: http://svn.reactos.org/svn/reactos?rev=28566&view=rev
Log:
More build fixes for Mac OS X by changing the header order (wrc.h, which includes windef.h, which includes winnt.h has to be included before stdlib.h)

I know that this is another change in a Wine-shared component, but as long as we don't come to a better solution for these problems, I'll continue doing such small changes for fixing the build.

Modified:
    trunk/reactos/tools/wrc/readres.c
    trunk/reactos/tools/wrc/translation.c
    trunk/reactos/tools/wrc/writeres.c

Modified: trunk/reactos/tools/wrc/readres.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wrc/readres.c?rev=28566&r1=28565&r2=28566&view=diff
==============================================================================
--- trunk/reactos/tools/wrc/readres.c (original)
+++ trunk/reactos/tools/wrc/readres.c Sun Aug 26 02:12:24 2007
@@ -20,12 +20,12 @@
 
 #include "config.h"
 
+#include "wrc.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <assert.h>
 
-#include "wrc.h"
 #include "readres.h"
 #include "newstruc.h"
 #include "utils.h"

Modified: trunk/reactos/tools/wrc/translation.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wrc/translation.c?rev=28566&r1=28565&r2=28566&view=diff
==============================================================================
--- trunk/reactos/tools/wrc/translation.c (original)
+++ trunk/reactos/tools/wrc/translation.c Sun Aug 26 02:12:24 2007
@@ -16,11 +16,11 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+#include "wrc.h"
 #include <stdio.h>
 #include <stdlib.h>
 
 #include "dumpres.h"
-#include "wrc.h"
 
 #define MASTER_LANGUAGE LANG_ENGLISH
 #define NB_LANG 0x94

Modified: trunk/reactos/tools/wrc/writeres.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wrc/writeres.c?rev=28566&r1=28565&r2=28566&view=diff
==============================================================================
--- trunk/reactos/tools/wrc/writeres.c (original)
+++ trunk/reactos/tools/wrc/writeres.c Sun Aug 26 02:12:24 2007
@@ -20,13 +20,13 @@
 
 #include "config.h"
 
+#include "wrc.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <assert.h>
 
 #include "wine/unicode.h"
-#include "wrc.h"
 #include "genres.h"
 #include "newstruc.h"
 #include "utils.h"




More information about the Ros-diffs mailing list