#define PATH_MAX as _MAX_PATH if it isn't defined

2001-03-16  Hans Breuer  <hans@breuer.org>

	* plug-ins/common/gqbist.c : #define PATH_MAX as _MAX_PATH
	if it isn't defined

	* plug-ins/common/gz.c : #include <io.h> for win32 _get_osfhandle ()

	* plug-ins/gflare/gflare.c : #include <gtk/gtk.h> before using
	G_OS_WIN32

	* plug-ins/twain/twain.c : provide a main () entry point to allow
	to build as console application as well
This commit is contained in:
Hans Breuer 2001-03-16 23:51:50 +00:00 committed by Hans Breuer
parent 787ffe3e93
commit 31fe47145b
6 changed files with 23 additions and 2 deletions

View file

@ -1,3 +1,16 @@
2001-03-16 Hans Breuer <hans@breuer.org>
* plug-ins/common/gqbist.c : #define PATH_MAX as _MAX_PATH
if it isn't defined
* plug-ins/common/gz.c : #include <io.h> for win32 _get_osfhandle ()
* plug-ins/gflare/gflare.c : #include <gtk/gtk.h> before using
G_OS_WIN32
* plug-ins/twain/twain.c : provide a main () entry point to allow
to build as console application as well
2001-03-16 Hans Breuer <hans@breuer.org>
* app/makefile.msc

View file

@ -85,6 +85,7 @@
#define STRICT
#define WinMain WinMain_foo
#include <windows.h>
#include <io.h> /* _get_osfhandle */
#undef WinMain
#endif

View file

@ -62,6 +62,10 @@
#include "libgimp/stdplugins-intl.h"
#ifndef PATH_MAX
#define PATH_MAX _MAX_PATH
#endif
/** qbist renderer ***********************************************************/
#define MAX_TRANSFORMS 36

View file

@ -85,6 +85,7 @@
#define STRICT
#define WinMain WinMain_foo
#include <windows.h>
#include <io.h> /* _get_osfhandle */
#undef WinMain
#endif

View file

@ -48,6 +48,8 @@
#include <sys/mman.h>
#endif
#include <glib.h> /* for G_OS_* */
#ifdef G_OS_WIN32
#include <io.h>
#endif

View file

@ -60,6 +60,8 @@ static char rcsid[] = "$Id$";
#include <dirent.h>
#endif
#include <gtk/gtk.h>
#ifdef G_OS_WIN32
#include <io.h>
#ifndef S_ISREG
@ -67,8 +69,6 @@ static char rcsid[] = "$Id$";
#endif
#endif
#include <gtk/gtk.h>
#include <libgimp/gimp.h>
#include <libgimp/gimpui.h>