ObjFW  Diff

Differences From Artifact [99dd897c16]:

To Artifact [2cb1c686e3]:

  • File src/OFSystemInfo.m — part of check-in [13ee56edf3] at 2014-06-21 21:43:43 on branch trunk — Move all macros from OFObject.h to macros.h

    This means that OFObject.h imports macros.h now, making it unnecessary
    to manually import macros.h in almost every file. And while at it, also
    import autorelease.h in OFObject.h, so that this doesn't need to be
    manually imported in almost every file as well. (user: js, size: 6250) [annotate] [blame] [check-ins using]


30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#import "OFString.h"
#import "OFArray.h"
#import "OFDictionary.h"
#import "OFApplication.h"

#import "OFNotImplementedException.h"

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

#ifdef __APPLE__
# include <NSSystemDirectories.h>
#endif

#ifdef _WIN32
# include <windows.h>
#endif

#ifdef __HAIKU__
# include <FindDirectory.h>
#endif

#ifdef __QNX__
# include <sys/syspage.h>
#endif

static size_t pageSize;
static size_t numberOfCPUs;








<
<
<



<



<



<







30
31
32
33
34
35
36



37
38
39

40
41
42

43
44
45

46
47
48
49
50
51
52
#import "OFString.h"
#import "OFArray.h"
#import "OFDictionary.h"
#import "OFApplication.h"

#import "OFNotImplementedException.h"




#ifdef __APPLE__
# include <NSSystemDirectories.h>
#endif

#ifdef _WIN32
# include <windows.h>
#endif

#ifdef __HAIKU__
# include <FindDirectory.h>
#endif

#ifdef __QNX__
# include <sys/syspage.h>
#endif

static size_t pageSize;
static size_t numberOfCPUs;