Kaydet (Commit) f5a54cbf authored tarafından Michael Stahl's avatar Michael Stahl

prewin.h: remove silly extern "C" nonsense which prevents...

... using prewin.h/postwin.h around ATL headers.  Also remove some other
cruft while at it.

Change-Id: I7d081dae88273dfd214ef078f5844ce266e388fb
üst 57f88bb7
...@@ -19,12 +19,6 @@ ...@@ -19,12 +19,6 @@
/* nicht geschuetz, muss als gegenstueck zu prewin.h includet werden */ /* nicht geschuetz, muss als gegenstueck zu prewin.h includet werden */
#ifdef WNT
#ifdef __cplusplus
}
#endif
#endif
#undef Region #undef Region
#undef PolyPolygon #undef PolyPolygon
#undef Polygon #undef Polygon
...@@ -228,16 +222,11 @@ ...@@ -228,16 +222,11 @@
#define STRETCH_DELETESCANS 3 #define STRETCH_DELETESCANS 3
#endif #endif
#ifdef WNT
extern "C" extern "C"
{ {
BOOL WINAPI WIN_Rectangle( HDC hDC, int X1, int Y1, int X2, int Y2 ); BOOL WINAPI WIN_Rectangle( HDC hDC, int X1, int Y1, int X2, int Y2 );
BOOL WINAPI WIN_Polygon( HDC hDC, CONST POINT * ppt, int ncnt ); BOOL WINAPI WIN_Polygon( HDC hDC, CONST POINT * ppt, int ncnt );
BOOL WINAPI WIN_PolyPolygon( HDC hDC, CONST POINT * ppt, LPINT npcnt, int ncnt ); BOOL WINAPI WIN_PolyPolygon( HDC hDC, CONST POINT * ppt, LPINT npcnt, int ncnt );
} }
#endif
// svwin.h nicht mehr includen
#define _SVWIN_H
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -28,10 +28,6 @@ ...@@ -28,10 +28,6 @@
#define Folder WIN_Folder #define Folder WIN_Folder
#define GradientStyle_RECT WIN_GradientStyle_RECT #define GradientStyle_RECT WIN_GradientStyle_RECT
#ifdef __cplusplus
extern "C" {
#endif
#if !defined STRICT #if !defined STRICT
#define STRICT #define STRICT
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment