static void dec_cRefThisDLL() { #ifdef FEAT_GETTEXT if (InterlockedDecrement((LPLONG)&g_cRefThisDll) == 0) dyn_gettext_free(); #else InterlockedDecrement((LPLONG)&g_cRefThisDll); #endif }
static void dec_cRefThisDLL() { #ifdef FEAT_GETTEXT if (InterlockedDecrement((LPLONG)&g_cRefThisDll) == 0) { dyn_gettext_free(); if (oldenv != NULL) { FreeEnvironmentStringsW(oldenv); oldenv = NULL; } } #else InterlockedDecrement((LPLONG)&g_cRefThisDll); #endif }