3630
|
1 /*
|
|
2 * win_aim.c
|
|
3 *
|
|
4 * Author: Herman Bloggs <hermanator12002@yahoo.com>
|
|
5 * Date: June, 2002
|
|
6 * Description: Entry point for win32 gaim, and various win32 dependant
|
|
7 * routines.
|
|
8 */
|
|
9 #include <windows.h>
|
|
10 #include <stdlib.h>
|
|
11
|
|
12 /*
|
|
13 * GLOBALS
|
|
14 */
|
|
15 __declspec(dllimport) HINSTANCE g_hInstance;
|
|
16
|
|
17 /*
|
|
18 * PROTOTYPES
|
|
19 */
|
|
20 extern int gaim_main( int, char** );
|
|
21
|
|
22 #ifdef __GNUC__
|
|
23 # ifndef _stdcall
|
|
24 # define _stdcall __attribute__((stdcall))
|
|
25 # endif
|
|
26 #endif
|
|
27
|
|
28 int _stdcall
|
|
29 WinMain (struct HINSTANCE__ *hInstance,
|
|
30 struct HINSTANCE__ *hPrevInstance,
|
|
31 char *lpszCmdLine,
|
|
32 int nCmdShow)
|
|
33 {
|
|
34 g_hInstance = hInstance;
|
|
35 return gaim_main (__argc, __argv);
|
|
36 }
|
|
37
|