Don't use #pragma once for pch files. Fixes build.

svn path=/trunk/; revision=45710
This commit is contained in:
Sylvain Petreolle 2010-02-27 19:51:54 +00:00
parent d816c7617c
commit 763962665e
6 changed files with 25 additions and 6 deletions

View file

@ -1,4 +1,5 @@
#pragma once
#ifndef __CHARMAP_PRECOMP_H
#define __CHARMAP_PRECOMP_H
#include <stdio.h>
#include <stdlib.h>
@ -52,3 +53,5 @@ VOID ShowAboutDlg(HWND hWndParent);
BOOL RegisterMapClasses(HINSTANCE hInstance);
VOID UnregisterMapClasses(HINSTANCE hInstance);
#endif /* __CHARMAP_PRECOMP_H */

View file

@ -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 @@ HIMAGELIST InitImageList(UINT NumButtons,
VOID GetError(VOID);
VOID DisplayString(LPTSTR);
#endif /* __DEVMGMT_PRECOMP_H */

View file

@ -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 @@ HIMAGELIST InitImageList(UINT StartResource,
UINT Width,
UINT Height,
ULONG type);
#endif /* __SERVMAN_PRECOMP_H */

View file

@ -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 */

View file

@ -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 @@ WINE_DEFAULT_DEBUG_CHANNEL(cmd);
#else
#define debugstr_aw debugstr_a
#endif
#endif /* __CMD_PRECOMP_H */

View file

@ -1,4 +1,5 @@
#pragma once
#ifndef _SMSS_H_INCLUDED_
#define _SMSS_H_INCLUDED_
#include <stdio.h>
#include <stdlib.h>
@ -112,4 +113,7 @@ NTSTATUS SmInitializeDbgSs(VOID);
VOID NTAPI DisplayString(LPCWSTR lpwString);
VOID NTAPI PrintString (char* fmt, ...);
#endif /* _SMSS_H_INCLUDED_ */
/* EOF */