From 78ac55ced8691adfa03e4efbd139897599fca7b3 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 23 Jun 2009 07:14:52 +0000 Subject: On Windows, when called from a console, get console output (works only with Windows XP or higher. Windows 2000 will not have console output but it will just work fine.) --- (limited to 'thumbnailer') diff --git a/thumbnailer/evince-thumbnailer.c b/thumbnailer/evince-thumbnailer.c index 3598fdf..457ceea 100644 --- a/thumbnailer/evince-thumbnailer.c +++ b/thumbnailer/evince-thumbnailer.c @@ -25,6 +25,16 @@ #include #include +#ifdef G_OS_WIN32 +#ifdef DATADIR +#undef DATADIR +#endif +#include +#include +#define _WIN32_WINNT 0x0500 +#include +#endif + #define THUMBNAIL_SIZE 128 static gint size = THUMBNAIL_SIZE; -- cgit v0.9.1