From 24ab04ae77f1b8cfbacf45ff9c6ea6cb1ccdd09c Mon Sep 17 00:00:00 2001 From: "Dimitrie O. Paun" Date: Sat, 25 Nov 2000 01:21:22 +0000 Subject: [PATCH] Fixed compilation warning on Cygwin. --- include/windef.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/windef.h b/include/windef.h index 056f499a163..a39fd33caca 100644 --- a/include/windef.h +++ b/include/windef.h @@ -142,8 +142,12 @@ extern "C" { #define WINAPIV __cdecl #define APIENTRY WINAPI +#ifndef _declspec #define _declspec(x) +#endif +#ifndef __declspec #define __declspec(x) +#endif #define CONST const