Skip to content

Commit bb16a3b

Browse files
committed
Fixed renamed define
1 parent 5ec0503 commit bb16a3b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/os/host-main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ int main(int argc, char **argv) {
265265
argv = (char**)CommandLineToArgvW(GetCommandLineW(), &argc);
266266
// Use title string as defined in resources file (.rc) with hardcoded ID 101
267267
LoadStringW(App_Instance, 101, App_Title, MAX_TITLE_LENGTH);
268-
#ifdef USE_NATIVE_IMAGE_CODECS
268+
#ifdef INCLUDE_IMAGE_OS_CODEC
269269
CoInitialize(0);
270270
#endif
271271

src/os/win32/host-lib.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ static void *Task_Ready;
380380
//OS_Call_Device(RDI_STDIO, RDC_CLOSE); // close echo
381381

382382
OS_Quit_Devices(0);
383-
#ifdef USE_NATIVE_IMAGE_CODECS
383+
#ifdef INCLUDE_IMAGE_OS_CODEC
384384
OS_Release_Codecs();
385385
#endif
386386
#ifdef REB_VIEW

0 commit comments

Comments
 (0)