Differences From Artifact [735d2c61f2]:
- File
src/OFApplication.m
— part of check-in
[cb0a90f26d]
at
2017-01-16 01:11:31
on branch trunk
— Define SA_RESTART to 0 if it's missing
DJGPP has sigaction, but not SA_RESTART. (user: js, size: 11039) [annotate] [blame] [check-ins using]
To Artifact [2a2a047c69]:
- File src/OFApplication.m — part of check-in [0abbcb442c] at 2017-02-26 15:38:19 on branch trunk — Rename OF_MAC_OS_X define to OF_MACOS (user: js, size: 11033) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
32 33 34 35 36 37 38 | #import "OFRunLoop+Private.h" #import "OFThread.h" #import "OFThread+Private.h" #import "OFOutOfMemoryException.h" #import "OFOutOfRangeException.h" | | | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | #import "OFRunLoop+Private.h" #import "OFThread.h" #import "OFThread+Private.h" #import "OFOutOfMemoryException.h" #import "OFOutOfRangeException.h" #if defined(OF_MACOS) # include <crt_externs.h> #elif defined(OF_WINDOWS) # include <windows.h> extern int _CRT_glob; extern void __wgetmainargs(int*, wchar_t***, wchar_t***, int, int*); #elif !defined(OF_IOS) |
︙ | ︙ | |||
189 190 191 192 193 194 195 | - init { self = [super init]; @try { void *pool; OFMutableDictionary *environment; | | | 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 | - init { self = [super init]; @try { void *pool; OFMutableDictionary *environment; #if defined(OF_MACOS) char **env = *_NSGetEnviron(); #elif defined(OF_WINDOWS) of_char16_t *env, *env0; #elif !defined(OF_IOS) char **env = environ; #else char *env; |
︙ | ︙ |