Re: [AD] END_OF_MAIN, again |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: Re: [AD] END_OF_MAIN, again
- From: Hrvoje Ban <spoofer255@xxxxxxxxxx>
- Date: Sun, 31 Jul 2005 10:09:30 +0200
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=DxucY5U48dpdnh5lbT2M04VR+r0KnNevKMQOip3V0ap0c8Sfm1RRGqmdi5h972Ck5PZ4IBVLcwyE64yynkFGgFWvNU19jEawxx2Wi8T4Eiy5FvH0fifEH0//F7jHSfSRjy5FeuywzDs0BKeVP59DLMDceR40Jt+ZvArMgi5GzCU=
I fix it, new patch attached. I had to add __declspec(dllexport) to
both __install_allegro and _mangled_main. I tested both MinGW nad MSVC
6 and it working. Also, it might be a good idea to disable this main
mangling for MinGW since it doesn't need it.
Attachment:
alwin.h.diff
Description: Binary data
Attachment:
wmain.c
Description: Binary data