ObjFW  Check-in [1d68cfa595]

Overview
Comment:Clean up includes in OFTCPSocket.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 1d68cfa595f578fd9323e0a4281cb386e370d37bf9c8cbf3281296dca43bf423
User & Date: js on 2009-12-20 23:15:11
Other Links: manifest | tags
Context
2009-12-20
23:20
Update PLATFORMS. check-in: 092f7652a2 user: js tags: trunk
23:15
Clean up includes in OFTCPSocket. check-in: 1d68cfa595 user: js tags: trunk
2009-12-17
13:20
Update buildsys. check-in: 50e7f419d0 user: js tags: trunk
Changes

Modified src/OFSocket.h from [3590220a29] to [ac924aea1f].

19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#endif

#import "OFStream.h"

/*
 * Headers for Win32
 *
 * These must be imported after objc/Object and thus OFObject!
 */
#ifdef _WIN32
#define _WIN32_WINNT 0x0501
#include <winsock2.h>
#include <ws2tcpip.h>
#endif








|







19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#endif

#import "OFStream.h"

/*
 * Headers for Win32
 *
 * These must be imported after objc/objc.h and thus OFObject!
 */
#ifdef _WIN32
#define _WIN32_WINNT 0x0501
#include <winsock2.h>
#include <ws2tcpip.h>
#endif

Modified src/OFTCPSocket.m from [d088ca13d0] to [339b99e114].

12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include "config.h"

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

#ifndef HAVE_GETADDRINFO
# include <stdlib.h>
# ifndef _WIN32
#  include <arpa/inet.h>
# endif
#endif

#import "OFTCPSocket.h"
#import "OFExceptions.h"
#import "OFMacros.h"

#ifndef INVALID_SOCKET







|
|
<
<
<







12
13
14
15
16
17
18
19
20



21
22
23
24
25
26
27
#include "config.h"

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

#if !defined(HAVE_THREADSAFE_GETADDRINFO) && !defined(_WIN32)
#include <netinet/in.h>



#endif

#import "OFTCPSocket.h"
#import "OFExceptions.h"
#import "OFMacros.h"

#ifndef INVALID_SOCKET