view src/win_gaim.c @ 5380:6508cd9624ba

[gaim-migrate @ 5756] Claudio Satriano writes: "I updated the italian gaim translation Currently it is 963/1296 sentences I hope you can commit it before 0.63 release, but I understand that today it's thursday..." and further writes: "I forgot to tell you that I checked out the last cvs snapshot, but, in order to let update.pl work, I had to remove src/protocols/msn/away.c from POTFILES.in I think I should add src/protocols/msn/state.c instead, but I didn't do it yet" so i did make the change. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Thu, 15 May 2003 19:17:48 +0000
parents 70b892694e0b
children 5aeba37b303c
line wrap: on
line source

/*
 *  win_aim.c
 *
 *  Author: Herman Bloggs <hermanator12002@yahoo.com>
 *  Date: June, 2002
 *  Description: Entry point for win32 gaim, and various win32 dependant
 *  routines.
 */
#include <windows.h>
#include <stdlib.h>

/*
 *  GLOBALS
 */
__declspec(dllimport) HINSTANCE gaimexe_hInstance;

/*
 *  LOCALS
 */

/*
 *  PROTOTYPES
 */
extern int gaim_main( int, char** );


#ifdef __GNUC__
#  ifndef _stdcall
#    define _stdcall  __attribute__((stdcall))
#  endif
#endif

int _stdcall
WinMain (struct HINSTANCE__ *hInstance, 
	 struct HINSTANCE__ *hPrevInstance,
	 char               *lpszCmdLine,
	 int                 nCmdShow)
{
	gaimexe_hInstance = hInstance;
	return gaim_main (__argc, __argv);
}