ObjFW  Check-in [f0bd8d731e]

Overview
Comment:Only define _WIN32_WINNT if it is not already defined.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f0bd8d731ea7432de4e219b3d736760cdb27f0c4449916a44a95fe6242dc0165
User & Date: js on 2010-09-05 14:45:58
Other Links: manifest | tags
Context
2010-09-05
15:10
ObjFW works on Win64 using MinGW64 now. check-in: 90e1488c24 user: js tags: trunk
14:45
Only define _WIN32_WINNT if it is not already defined. check-in: f0bd8d731e user: js tags: trunk
2010-08-29
17:53
More methods using blocks. check-in: e84073d0f9 user: js tags: trunk
Changes

Modified src/OFStreamObserver.h from [c015b1c190] to [31983ae5e4].

12
13
14
15
16
17
18

19

20
21
22
23
24
25
26
#if !defined(OF_HAVE_POLL) && defined(OF_HAVE_SYS_SELECT_H)
# include <sys/select.h>
#endif

#import "OFObject.h"

#ifdef _WIN32

# define _WIN32_WINNT 0x0501

# include <windows.h>
#endif

@class OFStream;
#ifdef OF_HAVE_POLL
@class OFDataArray;
#endif







>
|
>







12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#if !defined(OF_HAVE_POLL) && defined(OF_HAVE_SYS_SELECT_H)
# include <sys/select.h>
#endif

#import "OFObject.h"

#ifdef _WIN32
# ifndef _WIN32_WINNT
#  define _WIN32_WINNT 0x0501
# endif
# include <windows.h>
#endif

@class OFStream;
#ifdef OF_HAVE_POLL
@class OFDataArray;
#endif

Modified src/OFStreamSocket.h from [5b8ef38675] to [84f2318fe8].

8
9
10
11
12
13
14

15

16
17
18
19
20
21
22
 * Q Public License 1.0, which can be found in the file LICENSE included in
 * the packaging of this file.
 */

#import "OFStream.h"

#ifdef _WIN32

# define _WIN32_WINNT 0x0501

# include <winsock2.h>
#endif

/**
 * \brief A class which provides functions to create and use stream sockets.
 */
@interface OFStreamSocket: OFStream







>
|
>







8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 * Q Public License 1.0, which can be found in the file LICENSE included in
 * the packaging of this file.
 */

#import "OFStream.h"

#ifdef _WIN32
# ifndef _WIN32_WINNT
#  define _WIN32_WINNT 0x0501
# endif
# include <winsock2.h>
#endif

/**
 * \brief A class which provides functions to create and use stream sockets.
 */
@interface OFStreamSocket: OFStream