mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-30 23:33:57 +00: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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19065 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
59d41d96e0
commit
3000cbfd10
@ -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