Fix compilation of NSTask test processgroup helper on Windows.

This commit is contained in:
Frederik Seiffert 2021-07-06 13:48:21 +02:00 committed by Frederik Seiffert
parent 4ceea4159c
commit 8f31087119

View file

@ -1,5 +1,5 @@
#include <Foundation/Foundation.h>
#if !defined(__MINGW32__)
#if !defined(_WIN32)
#include <sys/file.h>
#include <sys/fcntl.h>
#include <unistd.h>
@ -14,7 +14,7 @@ main(int argc, char **argv)
int i = 0;
NSAutoreleasePool *arp = [NSAutoreleasePool new];
#if !defined(__MINGW32__)
#if !defined(_WIN32)
/*
printf("argc %d\n", argc);
for (i = 0; i < argc; i++)