mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Windows compile fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37574 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cc4ee79a3e
commit
072faf2281
2 changed files with 16 additions and 11 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2014-01-11 Marcus Mueller <znek@mulle-kybernetik.com>
|
||||
|
||||
* Source/GSMDNSNetServices.m: minor fixes - does now properly compile
|
||||
on Windows, too.
|
||||
NOTE:
|
||||
If you want to link against Apple's Bonjour SDK on Windows, you have
|
||||
to convert the dnssd.lib from MSVC/__stdcall format to GCC/__cdecl
|
||||
and provide the result as libdns_sd.a. Also, DNSSD_API in dns_sd.h
|
||||
needs to be defined empty.
|
||||
|
||||
2014-01-11 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSPathUtilities.m: The NSDeveloperDirectory key is deprecated
|
||||
|
|
|
@ -38,12 +38,7 @@
|
|||
|
||||
#import <dns_sd.h> // Apple's DNS Service Discovery
|
||||
|
||||
#import <sys/select.h>
|
||||
#import <sys/types.h>
|
||||
#import <sys/socket.h> // AF_INET / AF_INET6
|
||||
|
||||
#import <netinet/in.h> // struct sockaddr_in / sockaddr_in6
|
||||
#import <arpa/inet.h> // inet_pton(3)
|
||||
#import "GSNetwork.h"
|
||||
|
||||
//
|
||||
// Define
|
||||
|
@ -2794,7 +2789,7 @@ ConvertError(int errorCode)
|
|||
*
|
||||
*/
|
||||
|
||||
static void
|
||||
static void DNSSD_API
|
||||
EnumerationCallback(DNSServiceRef sdRef,
|
||||
DNSServiceFlags flags,
|
||||
uint32_t interfaceIndex,
|
||||
|
@ -2816,7 +2811,7 @@ EnumerationCallback(DNSServiceRef sdRef,
|
|||
*
|
||||
*/
|
||||
|
||||
static void
|
||||
static void DNSSD_API
|
||||
BrowserCallback(DNSServiceRef sdRef,
|
||||
DNSServiceFlags flags,
|
||||
uint32_t interfaceIndex,
|
||||
|
@ -2842,7 +2837,7 @@ BrowserCallback(DNSServiceRef sdRef,
|
|||
*
|
||||
*/
|
||||
|
||||
static void
|
||||
static void DNSSD_API
|
||||
ResolverCallback(DNSServiceRef sdRef,
|
||||
DNSServiceFlags flags,
|
||||
uint32_t interfaceIndex,
|
||||
|
@ -2872,7 +2867,7 @@ ResolverCallback(DNSServiceRef sdRef,
|
|||
*
|
||||
*/
|
||||
|
||||
static void
|
||||
static void DNSSD_API
|
||||
RegistrationCallback(DNSServiceRef sdRef,
|
||||
DNSServiceFlags flags,
|
||||
DNSServiceErrorType errorCode,
|
||||
|
@ -2896,7 +2891,7 @@ RegistrationCallback(DNSServiceRef sdRef,
|
|||
*
|
||||
*/
|
||||
|
||||
static void
|
||||
static void DNSSD_API
|
||||
QueryCallback(DNSServiceRef sdRef,
|
||||
DNSServiceFlags flags,
|
||||
uint32_t interfaceIndex,
|
||||
|
|
Loading…
Reference in a new issue