ObjFW  Check-in [371580cd46]

Overview
Comment:Tests: Don't call atexit(objc_exit) on Win32.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 371580cd46a0b5666d65a82b62bccf7596ac16e619a15300c84f0242c6379464
User & Date: js on 2013-04-28 20:53:01
Other Links: manifest | tags
Context
2013-04-30
22:29
threading.h: Add of_condition_timed_wait(). check-in: e139086f33 user: js tags: trunk
2013-04-28
20:53
Tests: Don't call atexit(objc_exit) on Win32. check-in: 371580cd46 user: js tags: trunk
2013-04-27
23:14
asprintf: Fix a very stupid typo. check-in: 48709a6a21 user: js tags: trunk
Changes

Modified tests/TestsAppDelegate.m from [5d7f8b1eec] to [dbb5e73795].

45
46
47
48
49
50
51
52

53
54
55
56
57
58
59
	GREEN,
	YELLOW
};

int
main(int argc, char *argv[])
{
#ifdef OF_OBJFW_RUNTIME

	atexit(objc_exit);
#endif

	/* We need deterministic hashes for tests */
	of_hash_seed = 0;

#ifdef __wii__







|
>







45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
	GREEN,
	YELLOW
};

int
main(int argc, char *argv[])
{
#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;

#ifdef __wii__