mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-01 01:01:03 +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
102131a5b4
commit
dfae939ab6
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>
|
2014-01-11 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/NSPathUtilities.m: The NSDeveloperDirectory key is deprecated
|
* Source/NSPathUtilities.m: The NSDeveloperDirectory key is deprecated
|
||||||
|
|
|
@ -38,12 +38,7 @@
|
||||||
|
|
||||||
#import <dns_sd.h> // Apple's DNS Service Discovery
|
#import <dns_sd.h> // Apple's DNS Service Discovery
|
||||||
|
|
||||||
#import <sys/select.h>
|
#import "GSNetwork.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)
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Define
|
// Define
|
||||||
|
@ -2794,7 +2789,7 @@ ConvertError(int errorCode)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static void
|
static void DNSSD_API
|
||||||
EnumerationCallback(DNSServiceRef sdRef,
|
EnumerationCallback(DNSServiceRef sdRef,
|
||||||
DNSServiceFlags flags,
|
DNSServiceFlags flags,
|
||||||
uint32_t interfaceIndex,
|
uint32_t interfaceIndex,
|
||||||
|
@ -2816,7 +2811,7 @@ EnumerationCallback(DNSServiceRef sdRef,
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static void
|
static void DNSSD_API
|
||||||
BrowserCallback(DNSServiceRef sdRef,
|
BrowserCallback(DNSServiceRef sdRef,
|
||||||
DNSServiceFlags flags,
|
DNSServiceFlags flags,
|
||||||
uint32_t interfaceIndex,
|
uint32_t interfaceIndex,
|
||||||
|
@ -2842,7 +2837,7 @@ BrowserCallback(DNSServiceRef sdRef,
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static void
|
static void DNSSD_API
|
||||||
ResolverCallback(DNSServiceRef sdRef,
|
ResolverCallback(DNSServiceRef sdRef,
|
||||||
DNSServiceFlags flags,
|
DNSServiceFlags flags,
|
||||||
uint32_t interfaceIndex,
|
uint32_t interfaceIndex,
|
||||||
|
@ -2872,7 +2867,7 @@ ResolverCallback(DNSServiceRef sdRef,
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static void
|
static void DNSSD_API
|
||||||
RegistrationCallback(DNSServiceRef sdRef,
|
RegistrationCallback(DNSServiceRef sdRef,
|
||||||
DNSServiceFlags flags,
|
DNSServiceFlags flags,
|
||||||
DNSServiceErrorType errorCode,
|
DNSServiceErrorType errorCode,
|
||||||
|
@ -2896,7 +2891,7 @@ RegistrationCallback(DNSServiceRef sdRef,
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static void
|
static void DNSSD_API
|
||||||
QueryCallback(DNSServiceRef sdRef,
|
QueryCallback(DNSServiceRef sdRef,
|
||||||
DNSServiceFlags flags,
|
DNSServiceFlags flags,
|
||||||
uint32_t interfaceIndex,
|
uint32_t interfaceIndex,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue