mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Incorporate the contents of include/llvm/Config/unistd.h as this is the
last file in LLVM to require the header. After ths commmit, our unistd.h will go away. llvm-svn: 19065
This commit is contained in:
parent
6abec217dd
commit
7cce6dd8ec
@ -23,7 +23,17 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "llvm/Config/unistd.h" /* provides definition of execve */
|
||||
|
||||
#include "llvm/Config/config.h"
|
||||
|
||||
#if defined(HAVE_UNISTD_H) && !defined(_MSC_VER)
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <process.h>
|
||||
#include <io.h>
|
||||
#endif
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
const char *Interp = getenv("LLVMINTERP");
|
||||
|
Loading…
x
Reference in New Issue
Block a user