ObjFW  Check-in [12ceeb7853]

Overview
Comment:Fix compilation with GCC
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 12ceeb785368fecc27710fbcc30466c39ca94e946230131aad021ff1d7a9e9ec
User & Date: js on 2014-12-13 16:53:52
Other Links: manifest | tags
Context
2014-12-13
17:50
Use CLOEXEC for kqueue check-in: aebd220efc user: js tags: trunk
16:53
Fix compilation with GCC check-in: 12ceeb7853 user: js tags: trunk
16:52
Use CLOEXEC for files and sockets check-in: 06d2de4571 user: js tags: trunk
Changes

Modified src/OFProcess.m from [ffa482714b] to [7cc001dd62].

51
52
53
54
55
56
57




58
59
60
61
62
63
64

#ifndef __MACH__
extern char **environ;
#endif

@interface OFProcess (OF_PRIVATE_CATEGORY)
#ifndef _WIN32




- (char**)OF_environmentForDictionary: (OFDictionary*)dictionary;
#else
- (of_char16_t*)OF_environmentForDictionary: (OFDictionary*)dictionary;
#endif
@end

@implementation OFProcess







>
>
>
>







51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68

#ifndef __MACH__
extern char **environ;
#endif

@interface OFProcess (OF_PRIVATE_CATEGORY)
#ifndef _WIN32
- (void)OF_getArgC: (int*)argc
	   andArgV: (char***)argv
    forProgramName: (OFString*)programName
      andArguments: (OFArray*)arguments;
- (char**)OF_environmentForDictionary: (OFDictionary*)dictionary;
#else
- (of_char16_t*)OF_environmentForDictionary: (OFDictionary*)dictionary;
#endif
@end

@implementation OFProcess