Created
September 11, 2012 14:17
-
-
Save ynkdir/3698918 to your computer and use it in GitHub Desktop.
forwarding libintl.dll
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rem create forwarding dll, libintl.dll forwarding intl.dll | |
rem reference: http://hp.vector.co.jp/authors/VA050396/tech_09.html | |
lib /DEF:intl.def | |
cl /LD libintl.c libintl.def intl.lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LIBRARY INTL | |
EXPORTS | |
gettext | |
bindtextdomain | |
textdomain | |
bind_textdomain_codeset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
#pragma comment(linker, "/nodefaultlib") | |
BOOL WINAPI _DllMainCRTStartup(HMODULE a, DWORD b, void* c) | |
{ | |
return TRUE; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LIBRARY LIBINTL | |
EXPORTS | |
gettext = intl.gettext | |
bindtextdomain = intl.bindtextdomain | |
textdomain = intl.textdomain | |
bind_textdomain_codeset = intl.bind_textdomain_codeset |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment