summaryrefslogtreecommitdiff
path: root/solenv/inc
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-03-16 17:30:49 +0200
committerTor Lillqvist <tlillqvist@novell.com>2011-03-16 17:30:49 +0200
commitb82df31c5092c4cebae3dc7836f9ffc2a2f238ad (patch)
treea8c5065c2f961e0ea7bad4420b2bb2312b82dbeb /solenv/inc
parent37022d25d2d4d2629887ceff07bb2ad527ef036a (diff)
The WIN_BOOL dance no longer needed and in fact causes compilation errors
Diffstat (limited to 'solenv/inc')
-rw-r--r--solenv/inc/postwin.h7
-rw-r--r--solenv/inc/prewin.h1
2 files changed, 3 insertions, 5 deletions
diff --git a/solenv/inc/postwin.h b/solenv/inc/postwin.h
index f3f21449d7f0..2685a127ad1b 100644
--- a/solenv/inc/postwin.h
+++ b/solenv/inc/postwin.h
@@ -39,7 +39,6 @@
#undef Polygon
#undef Rectangle
#undef BYTE
-#undef BOOL
#undef DELETE
#ifndef VCL_NEED_BASETSD
@@ -249,9 +248,9 @@
#ifdef WNT
extern "C"
{
-WIN_BOOL WINAPI WIN_Rectangle( HDC hDC, int X1, int Y1, int X2, int Y2 );
-WIN_BOOL WINAPI WIN_Polygon( HDC hDC, CONST POINT * ppt, int ncnt );
-WIN_BOOL WINAPI WIN_PolyPolygon( HDC hDC, CONST POINT * ppt, LPINT npcnt, int ncnt );
+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_PolyPolygon( HDC hDC, CONST POINT * ppt, LPINT npcnt, int ncnt );
}
#endif
diff --git a/solenv/inc/prewin.h b/solenv/inc/prewin.h
index 90a19d32d992..09d03c4818de 100644
--- a/solenv/inc/prewin.h
+++ b/solenv/inc/prewin.h
@@ -30,7 +30,6 @@
#if defined WNT
-#define BOOL WIN_BOOL
#define BYTE WIN_BYTE
#ifndef VCL_NEED_BASETSD
#define INT64 WIN_INT64