Add prototype for WinMain to avoid gcc warning.
2006-11-24 Tor Lillqvist <tml@novell.com> * libgimp/gimp.h (MAIN): Add prototype for WinMain to avoid gcc warning.
This commit is contained in:

committed by
Tor Lillqvist

parent
7dd45bc30a
commit
65a643bb20
@ -1,3 +1,8 @@
|
||||
2006-11-24 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* libgimp/gimp.h (MAIN): Add prototype for WinMain to avoid gcc
|
||||
warning.
|
||||
|
||||
2006-11-24 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/flame/libifs.[ch]
|
||||
|
@ -190,6 +190,13 @@ struct _GimpParam
|
||||
|
||||
# define MAIN() \
|
||||
struct HINSTANCE__; \
|
||||
\
|
||||
int _stdcall \
|
||||
WinMain (struct HINSTANCE__ *hInstance, \
|
||||
struct HINSTANCE__ *hPrevInstance, \
|
||||
char *lpszCmdLine, \
|
||||
int nCmdShow); \
|
||||
\
|
||||
int _stdcall \
|
||||
WinMain (struct HINSTANCE__ *hInstance, \
|
||||
struct HINSTANCE__ *hPrevInstance, \
|
||||
|
Reference in New Issue
Block a user