Author: jgardou
Date: Thu Sep 15 21:03:39 2011
New Revision: 53716
URL:
http://svn.reactos.org/svn/reactos?rev=53716&view=rev
Log:
[REACTOS]
- get version.h and buildno.h out of precompiled headers, to avoid rebuilding the whole
module each time we reconfigure the build
Modified:
trunk/reactos/base/setup/usetup/muilanguages.h
trunk/reactos/base/setup/usetup/usetup.h
trunk/reactos/base/shell/cmd/cmd.c
trunk/reactos/base/shell/cmd/precomp.h
trunk/reactos/base/shell/cmd/ver.c
trunk/reactos/boot/freeldr/freeldr/include/freeldr.h
trunk/reactos/boot/freeldr/freeldr/ui/ui.c
trunk/reactos/dll/win32/shell32/precomp.h
trunk/reactos/dll/win32/shell32/shell32_main.cpp
Modified: trunk/reactos/base/setup/usetup/muilanguages.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/muilangu…
==============================================================================
--- trunk/reactos/base/setup/usetup/muilanguages.h [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/muilanguages.h [iso-8859-1] Thu Sep 15 21:03:39 2011
@@ -1,4 +1,6 @@
#pragma once
+
+#include <buildno.h>
#include "lang/af-ZA.h"
#include "lang/ar-AE.h"
Modified: trunk/reactos/base/setup/usetup/usetup.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/usetup.h…
==============================================================================
--- trunk/reactos/base/setup/usetup/usetup.h [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/usetup.h [iso-8859-1] Thu Sep 15 21:03:39 2011
@@ -51,9 +51,6 @@
/* DDK Disk Headers */
#include <ntddscsi.h>
-
-/* ReactOS Version */
-#include <reactos/buildno.h>
/* Internal Headers */
#include "interface/consup.h"
Modified: trunk/reactos/base/shell/cmd/cmd.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/cmd/cmd.c?rev=5…
==============================================================================
--- trunk/reactos/base/shell/cmd/cmd.c [iso-8859-1] (original)
+++ trunk/reactos/base/shell/cmd/cmd.c [iso-8859-1] Thu Sep 15 21:03:39 2011
@@ -142,6 +142,8 @@
*/
#include <precomp.h>
+#include <buildno.h>
+#include <version.h>
#ifndef NT_SUCCESS
#define NT_SUCCESS(StatCode) ((NTSTATUS)(StatCode) >= 0)
Modified: trunk/reactos/base/shell/cmd/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/cmd/precomp.h?r…
==============================================================================
--- trunk/reactos/base/shell/cmd/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/base/shell/cmd/precomp.h [iso-8859-1] Thu Sep 15 21:03:39 2011
@@ -34,9 +34,6 @@
#include "config.h"
#include "batch.h"
-#include <reactos/buildno.h>
-#include <reactos/version.h>
-
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(cmd);
#ifdef UNICODE
Modified: trunk/reactos/base/shell/cmd/ver.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/cmd/ver.c?rev=5…
==============================================================================
--- trunk/reactos/base/shell/cmd/ver.c [iso-8859-1] (original)
+++ trunk/reactos/base/shell/cmd/ver.c [iso-8859-1] Thu Sep 15 21:03:39 2011
@@ -22,7 +22,8 @@
*/
#include <precomp.h>
-
+#include <buildno.h>
+#include <version.h>
VOID ShortVersion (VOID)
{
Modified: trunk/reactos/boot/freeldr/freeldr/include/freeldr.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/inclu…
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/include/freeldr.h [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/include/freeldr.h [iso-8859-1] Thu Sep 15 21:03:39
2011
@@ -50,7 +50,7 @@
#include <ntdddisk.h>
#include <internal/hal.h>
#include <drivers/pci/pci.h>
-#include <reactos/buildno.h>
+
#include <winerror.h>
/* internal headers */
Modified: trunk/reactos/boot/freeldr/freeldr/ui/ui.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/ui/ui…
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/ui/ui.c [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/ui/ui.c [iso-8859-1] Thu Sep 15 21:03:39 2011
@@ -19,6 +19,7 @@
#ifndef _M_ARM
#include <freeldr.h>
#include <debug.h>
+#include <buildno.h>
DBG_DEFAULT_CHANNEL(UI);
Modified: trunk/reactos/dll/win32/shell32/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/precomp.…
==============================================================================
--- trunk/reactos/dll/win32/shell32/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/precomp.h [iso-8859-1] Thu Sep 15 21:03:39 2011
@@ -60,7 +60,6 @@
#include "cpanel.h"
#include "enumidlist.h"
#include "shfldr.h"
-#include "version.h"
#include "shellfolder.h"
#include "xdg.h"
#include "shellapi.h"
Modified: trunk/reactos/dll/win32/shell32/shell32_main.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shell32_…
==============================================================================
--- trunk/reactos/dll/win32/shell32/shell32_main.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/shell32_main.cpp [iso-8859-1] Thu Sep 15 21:03:39
2011
@@ -20,6 +20,7 @@
*/
#include <precomp.h>
+#include <version.h>
WINE_DEFAULT_DEBUG_CHANNEL(shell);