From ac49eadf312a968cee70dc157499e547e655aae9 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Sun, 30 Jun 2002 07:40:40 +0000 Subject: * photoid.c: Use __MINGW32__ to include windows because HAVE_DOSISH_SYSTEM is also set for OS/2 and plain DOS. Provide constant missing in older mingw installations. --- g10/photoid.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'g10/photoid.c') diff --git a/g10/photoid.c b/g10/photoid.c index 66240ecc2..fb7f7b91f 100644 --- a/g10/photoid.c +++ b/g10/photoid.c @@ -22,8 +22,11 @@ #include #include #include -#ifdef HAVE_DOSISH_SYSTEM -#include +#ifdef __MINGW32__ +# include +# ifndef VER_PLATFORM_WIN32_WINDOWS +# define VER_PLATFORM_WIN32_WINDOWS 1 +# endif #endif #include "packet.h" #include "status.h" -- cgit v1.2.3