Fix MSVC. Someone please shoot this compiler for stupidity
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
|
#include <process.h>
|
||||||
#define _POSIX_
|
#define _POSIX_
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <process.h>
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
||||||
#include "../argv.h"
|
#include "../argv.h"
|
||||||
@@ -14,7 +14,6 @@
|
|||||||
#define pipe _pipe
|
#define pipe _pipe
|
||||||
#define flushall _flushall
|
#define flushall _flushall
|
||||||
#define fdopen _fdopen
|
#define fdopen _fdopen
|
||||||
#define P_NOWAIT _P_NOWAIT
|
|
||||||
|
|
||||||
#ifndef STDIN_FILENO
|
#ifndef STDIN_FILENO
|
||||||
#define STDIN_FILENO fileno(stdin)
|
#define STDIN_FILENO fileno(stdin)
|
||||||
|
|||||||
Reference in New Issue
Block a user