Mercurial > pidgin.yaz
comparison src/win_gaim.c @ 4490:70b892694e0b
[gaim-migrate @ 4765]
win_aim -> win_gaim.c
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Fri, 31 Jan 2003 06:51:49 +0000 |
parents | |
children | 5aeba37b303c |
comparison
equal
deleted
inserted
replaced
4489:58c3c6cfd537 | 4490:70b892694e0b |
---|---|
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 gaimexe_hInstance; | |
16 | |
17 /* | |
18 * LOCALS | |
19 */ | |
20 | |
21 /* | |
22 * PROTOTYPES | |
23 */ | |
24 extern int gaim_main( int, char** ); | |
25 | |
26 | |
27 #ifdef __GNUC__ | |
28 # ifndef _stdcall | |
29 # define _stdcall __attribute__((stdcall)) | |
30 # endif | |
31 #endif | |
32 | |
33 int _stdcall | |
34 WinMain (struct HINSTANCE__ *hInstance, | |
35 struct HINSTANCE__ *hPrevInstance, | |
36 char *lpszCmdLine, | |
37 int nCmdShow) | |
38 { | |
39 gaimexe_hInstance = hInstance; | |
40 return gaim_main (__argc, __argv); | |
41 } | |
42 |