Author: spetreolle
Date: Sat Feb 27 20:51:54 2010
New Revision: 45710
URL:
http://svn.reactos.org/svn/reactos?rev=45710&view=rev
Log:
Don't use #pragma once for pch files. Fixes build.
Modified:
trunk/reactos/base/applications/charmap/precomp.h
trunk/reactos/base/applications/mscutils/devmgmt/precomp.h
trunk/reactos/base/applications/mscutils/servman/precomp.h
trunk/reactos/base/applications/taskmgr/precomp.h
trunk/reactos/base/shell/cmd/precomp.h
trunk/reactos/base/system/smss/smss.h
Modified: trunk/reactos/base/applications/charmap/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
==============================================================================
--- trunk/reactos/base/applications/charmap/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/base/applications/charmap/precomp.h [iso-8859-1] Sat Feb 27 20:51:54
2010
@@ -1,4 +1,5 @@
-#pragma once
+#ifndef __CHARMAP_PRECOMP_H
+#define __CHARMAP_PRECOMP_H
#include <stdio.h>
#include <stdlib.h>
@@ -52,3 +53,5 @@
BOOL RegisterMapClasses(HINSTANCE hInstance);
VOID UnregisterMapClasses(HINSTANCE hInstance);
+
+#endif /* __CHARMAP_PRECOMP_H */
Modified: trunk/reactos/base/applications/mscutils/devmgmt/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mscutils…
==============================================================================
--- trunk/reactos/base/applications/mscutils/devmgmt/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mscutils/devmgmt/precomp.h [iso-8859-1] Sat Feb 27
20:51:54 2010
@@ -1,4 +1,5 @@
-#pragma once
+#ifndef __DEVMGMT_PRECOMP_H
+#define __DEVMGMT_PRECOMP_H
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
@@ -92,3 +93,5 @@
VOID GetError(VOID);
VOID DisplayString(LPTSTR);
+
+#endif /* __DEVMGMT_PRECOMP_H */
Modified: trunk/reactos/base/applications/mscutils/servman/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mscutils…
==============================================================================
--- trunk/reactos/base/applications/mscutils/servman/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mscutils/servman/precomp.h [iso-8859-1] Sat Feb 27
20:51:54 2010
@@ -1,4 +1,5 @@
-#pragma once
+#ifndef __SERVMAN_PRECOMP_H
+#define __SERVMAN_PRECOMP_H
//#define WIN32_LEAN_AND_MEAN
#include <windows.h>
@@ -184,3 +185,5 @@
UINT Width,
UINT Height,
ULONG type);
+
+#endif /* __SERVMAN_PRECOMP_H */
Modified: trunk/reactos/base/applications/taskmgr/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/taskmgr/…
==============================================================================
--- trunk/reactos/base/applications/taskmgr/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/base/applications/taskmgr/precomp.h [iso-8859-1] Sat Feb 27 20:51:54
2010
@@ -1,4 +1,5 @@
-#pragma once
+#ifndef __PRECOMP_H
+#define __PRECOMP_H
#ifndef UNICODE
#error Task-Manager uses NDK functions, so it can only be compiled with Unicode support
enabled!
@@ -35,3 +36,5 @@
#include "priority.h"
#include "run.h"
#include "trayicon.h"
+
+#endif /* __PRECOMP_H */
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] Sat Feb 27 20:51:54 2010
@@ -1,4 +1,5 @@
-#pragma once
+#ifndef __CMD_PRECOMP_H
+#define __CMD_PRECOMP_H
#ifdef _MSC_VER
#pragma warning ( disable : 4103 ) /* use #pragma pack to change alignment */
@@ -42,3 +43,5 @@
#else
#define debugstr_aw debugstr_a
#endif
+
+#endif /* __CMD_PRECOMP_H */
Modified: trunk/reactos/base/system/smss/smss.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/smss.h?re…
==============================================================================
--- trunk/reactos/base/system/smss/smss.h [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/smss.h [iso-8859-1] Sat Feb 27 20:51:54 2010
@@ -1,4 +1,5 @@
-#pragma once
+#ifndef _SMSS_H_INCLUDED_
+#define _SMSS_H_INCLUDED_
#include <stdio.h>
#include <stdlib.h>
@@ -112,4 +113,7 @@
VOID NTAPI DisplayString(LPCWSTR lpwString);
VOID NTAPI PrintString (char* fmt, ...);
+#endif /* _SMSS_H_INCLUDED_ */
+
/* EOF */
+