Skip to content
Snippets Groups Projects
Commit bbfc8b45 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

COMP: prevent DllMain declaration conflict for MinGW

parent e02f49aa
No related branches found
No related tags found
No related merge requests found
...@@ -174,7 +174,7 @@ opj_bool opj_seek_from_file (OPJ_OFF_T p_nb_bytes, FILE * p_user_data) ...@@ -174,7 +174,7 @@ opj_bool opj_seek_from_file (OPJ_OFF_T p_nb_bytes, FILE * p_user_data)
/* ---------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- */
#ifdef _WIN32 #ifdef _WIN32
#ifndef OPJ_STATIC #if !defined(OPJ_STATIC) && !defined(__MINGW32__)
BOOL APIENTRY BOOL APIENTRY
DllMain(HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) { DllMain(HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment