@@ -47,11 +47,12 @@ }; int main(int argc, char *argv[]) { -#ifdef OF_OBJFW_RUNTIME +#if defined(OF_OBJFW_RUNTIME) && !defined(_WIN32) + /* This does not work on Win32 if ObjFW is built as a DLL */ atexit(objc_exit); #endif /* We need deterministic hashes for tests */ of_hash_seed = 0;