[trunk] allow compilation with MinGW32 (fixes issue 361)

This commit is contained in:
Antonin Descampe 2014-09-16 15:38:11 +00:00
parent 2c810567dd
commit b0072bf658
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ static OPJ_BOOL opj_seek_from_file (OPJ_OFF_T p_nb_bytes, FILE * p_user_data)
#ifdef _WIN32
#ifndef OPJ_STATIC
BOOL APIENTRY
DllMain(HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) {
DllMain(HINSTANCE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) {
OPJ_ARG_NOT_USED(lpReserved);
OPJ_ARG_NOT_USED(hModule);