Mercurial > pidgin.yaz
comparison src/win_aim.c @ 3630:9682c0e022c6
[gaim-migrate @ 3753]
Yeah this will probably break a lot of shit knowing my luck. But hey, I really don't care what people thnk.
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Fri, 11 Oct 2002 03:14:01 +0000 |
parents | |
children | 17b650a36bca |
comparison
equal
deleted
inserted
replaced
3629:afc5bb164c5a | 3630:9682c0e022c6 |
---|---|
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 |