ObjFW  Check-in [efe09b8894]

Overview
Comment:Fix compilation on {Net,Open}BSD, OpenIndiana etc.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | 1.0
Files: files | file ages | folders
SHA3-256: efe09b8894456d6b416c0c4596b30b2a0b83d1e667410c75436a1141ddeaaf53
User & Date: js on 2024-01-21 11:42:17
Other Links: branch diff | manifest | tags
Context
2024-01-21
12:07
Update ChangeLog for 1.0.8 check-in: bc8bb244ac user: js tags: 1.0
11:42
Fix compilation on {Net,Open}BSD, OpenIndiana etc. check-in: efe09b8894 user: js tags: 1.0
11:41
Fix compilation on {Net,Open}BSD, OpenIndiana etc. check-in: 8d21d6f269 user: js tags: trunk
10:54
Set version to 1.0.7 check-in: 79d7e0d008 user: js tags: 1.0, 1.0.7-release
Changes

Modified src/platform/POSIX/OFSubprocess.m from [874cad7132] to [31ca291f6b].

37
38
39
40
41
42
43
44


45
46
47
48
49
50
51
52
53
54
55

#import "OFInitializationFailedException.h"
#import "OFNotOpenException.h"
#import "OFOutOfRangeException.h"
#import "OFReadFailedException.h"
#import "OFWriteFailedException.h"

#ifdef OF_MACOS


# include <crt_externs.h>
# define environ (*_NSGetEnviron())
#elif !defined(HAVE_POSIX_SPAWNP) || !defined(HAVE_SPAWN_H)
extern char **environ;
#endif

@interface OFSubprocess ()
- (void)of_getArgv: (char ***)argv
    forProgramName: (OFString *)programName
      andArguments: (OFArray *)arguments;
- (char **)of_environmentForDictionary: (OFDictionary *)dictionary;







|
>
>


<
<







37
38
39
40
41
42
43
44
45
46
47
48


49
50
51
52
53
54
55

#import "OFInitializationFailedException.h"
#import "OFNotOpenException.h"
#import "OFOutOfRangeException.h"
#import "OFReadFailedException.h"
#import "OFWriteFailedException.h"

#ifndef OF_MACOS
extern char **environ;
#else
# include <crt_externs.h>
# define environ (*_NSGetEnviron())


#endif

@interface OFSubprocess ()
- (void)of_getArgv: (char ***)argv
    forProgramName: (OFString *)programName
      andArguments: (OFArray *)arguments;
- (char **)of_environmentForDictionary: (OFDictionary *)dictionary;