The WIN_BOOL dance no longer needed and in fact causes compilation errors

This commit is contained in:
Tor Lillqvist 2011-03-16 17:30:49 +02:00
parent 37022d25d2
commit b82df31c50
2 changed files with 3 additions and 5 deletions

View file

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

View file

@ -30,7 +30,6 @@
#if defined WNT
#define BOOL WIN_BOOL
#define BYTE WIN_BYTE
#ifndef VCL_NEED_BASETSD
#define INT64 WIN_INT64