diff --git a/src/platform/platform.h b/src/platform/platform.h index 1d3c6a4e3e..53dc0aca65 100644 --- a/src/platform/platform.h +++ b/src/platform/platform.h @@ -196,6 +196,9 @@ datetime64 platform_get_datetime_now_utc(); HWND windows_get_window_handle(); void platform_setup_file_associations(); void platform_remove_file_associations(); + // This function cannot be marked as 'static', even though it may seem to be, + // as it requires external linkage, which 'static' prevents + __declspec(dllexport) int StartOpenRCT(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow); #endif // __WINDOWS__ #if defined(__LINUX__) || defined(__MACOSX__)