ObjFW  Check-in [d7365be372]

Overview
Comment:Import OFThread.h unconditionally.

It's safe to always import OFThread.h now as OFThread even offers
limited functionality when threads are unavailable.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d7365be37269ca9dc50f071934424135d15aca42239d97a60ce69901f41014fb
User & Date: js on 2013-05-22 18:45:08
Other Links: manifest | tags
Context
2013-05-22
20:36
Don't depened on execinfo.h for backtraces. check-in: a889f21180 user: js tags: trunk
18:45
Import OFThread.h unconditionally. check-in: d7365be372 user: js tags: trunk
18:42
Check for more socket-related headers / functions. check-in: 896084c340 user: js tags: trunk
Changes

Modified src/OFApplication.m from [87c9d886dc] to [15015abb7a].

23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#include <signal.h>

#import "OFApplication.h"
#import "OFString.h"
#import "OFArray.h"
#import "OFDictionary.h"
#import "OFRunLoop.h"
#ifdef OF_HAVE_THREADS
# import "OFThread.h"
#endif

#import "autorelease.h"
#import "macros.h"

#if defined(__MACH__) && !defined(OF_IOS)
# include <crt_externs.h>
#elif defined(_WIN32)







<
|
<







23
24
25
26
27
28
29

30

31
32
33
34
35
36
37
#include <signal.h>

#import "OFApplication.h"
#import "OFString.h"
#import "OFArray.h"
#import "OFDictionary.h"
#import "OFRunLoop.h"

#import "OFThread.h"


#import "autorelease.h"
#import "macros.h"

#if defined(__MACH__) && !defined(OF_IOS)
# include <crt_externs.h>
#elif defined(_WIN32)

Modified src/OFObject.m from [51f9346050] to [6f6ec3f922].

23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#include <assert.h>

#include <sys/time.h>

#import "OFObject.h"
#import "OFTimer.h"
#import "OFRunLoop.h"
#ifdef OF_HAVE_THREADS
# import "OFThread.h"
#endif
#import "OFAutoreleasePool.h"

#import "OFAllocFailedException.h"
#import "OFEnumerationMutationException.h"
#import "OFInitializationFailedException.h"
#import "OFInvalidArgumentException.h"
#import "OFMemoryNotPartOfObjectException.h"
#import "OFNotImplementedException.h"







<
|
<
<







23
24
25
26
27
28
29

30


31
32
33
34
35
36
37
#include <assert.h>

#include <sys/time.h>

#import "OFObject.h"
#import "OFTimer.h"
#import "OFRunLoop.h"

#import "OFThread.h"



#import "OFAllocFailedException.h"
#import "OFEnumerationMutationException.h"
#import "OFInitializationFailedException.h"
#import "OFInvalidArgumentException.h"
#import "OFMemoryNotPartOfObjectException.h"
#import "OFNotImplementedException.h"

Modified src/OFTCPSocket.m from [f93320b4b5] to [4199e0da2a].

36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#ifdef HAVE_NETDB_H
# include <netdb.h>
#endif

#import "OFTCPSocket.h"
#import "OFTCPSocket+SOCKS5.h"
#import "OFString.h"
#ifdef OF_HAVE_THREADS
# import "OFThread.h"
#endif
#import "OFTimer.h"
#import "OFRunLoop.h"

#import "OFAcceptFailedException.h"
#import "OFAlreadyConnectedException.h"
#import "OFAddressTranslationFailedException.h"
#import "OFBindFailedException.h"







<
|
<







36
37
38
39
40
41
42

43

44
45
46
47
48
49
50
#ifdef HAVE_NETDB_H
# include <netdb.h>
#endif

#import "OFTCPSocket.h"
#import "OFTCPSocket+SOCKS5.h"
#import "OFString.h"

#import "OFThread.h"

#import "OFTimer.h"
#import "OFRunLoop.h"

#import "OFAcceptFailedException.h"
#import "OFAlreadyConnectedException.h"
#import "OFAddressTranslationFailedException.h"
#import "OFBindFailedException.h"