ObjFW  Check-in [d0ad47358c]

Overview
Comment:tests: Add the same libctru id workaround

This adds the same workaround as in [f4ba103dc03a4933], but for tests.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d0ad47358c04f34faf62ec0d0cc6fbab95ecac031f208ce6691c58718ae79598
User & Date: js on 2020-05-28 23:59:05
Other Links: manifest | tags
Context
2020-05-30
14:35
Remove unnecessary imports of socket.h check-in: 9e03377177 user: js tags: trunk
2020-05-28
23:59
tests: Add the same libctru id workaround check-in: d0ad47358c user: js tags: trunk
23:22
OFIPXSocket: Minor documentation fix check-in: 2d409b0c35 user: js tags: trunk
Changes

Modified tests/TestsAppDelegate.m from [9e16d3935e] to [0707701acb].

43
44
45
46
47
48
49


50

51
52
53
54
55
56
57
#ifdef OF_NINTENDO_DS
# define asm __asm__
# include <nds.h>
# undef asm
#endif

#ifdef OF_NINTENDO_3DS


# include <3ds.h>

#endif

#ifdef OF_PSP
static int
exit_cb(int arg1, int arg2, void *arg)
{
	sceKernelExitGame();







>
>

>







43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#ifdef OF_NINTENDO_DS
# define asm __asm__
# include <nds.h>
# undef asm
#endif

#ifdef OF_NINTENDO_3DS
/* Newer versions of libctru started using id as a parameter name. */
# define id id_3ds
# include <3ds.h>
# undef id
#endif

#ifdef OF_PSP
static int
exit_cb(int arg1, int arg2, void *arg)
{
	sceKernelExitGame();