ObjFW  Check-in [f4ba103dc0]

Overview
Comment:Work around new libctru using id as parameter name
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f4ba103dc03a4933ddc09426cbc3eeac1a87ab8507718b031464143c459bda21
User & Date: js on 2020-05-28 21:14:14
Other Links: manifest | tags
References
2020-05-28
23:59
tests: Add the same libctru id workaround check-in: d0ad47358c user: js tags: trunk
Context
2020-05-28
22:20
Use versioned Fossil settings check-in: ca57acd2f9 user: js tags: trunk
21:14
Work around new libctru using id as parameter name check-in: f4ba103dc0 user: js tags: trunk
00:34
tests: Use simple output if we have no terminal check-in: ef5b11edae user: js tags: trunk
Changes

Modified src/OFDNSResolverSettings.m from [5313f1e2ca] to [995314850c].

38
39
40
41
42
43
44


45

46
47
48
49
50
51
52
#ifdef OF_WINDOWS
# define interface struct
# include <iphlpapi.h>
# undef interface
#endif

#ifdef OF_NINTENDO_3DS


# include <3ds.h>

#endif

#import "socket_helpers.h"

#if defined(OF_HAIKU)
# define HOSTS_PATH @"/system/settings/network/hosts"
# define RESOLV_CONF_PATH @"/system/settings/network/resolv.conf"







>
>

>







38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#ifdef OF_WINDOWS
# define interface struct
# include <iphlpapi.h>
# undef interface
#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

#import "socket_helpers.h"

#if defined(OF_HAIKU)
# define HOSTS_PATH @"/system/settings/network/hosts"
# define RESOLV_CONF_PATH @"/system/settings/network/resolv.conf"