1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/include/Config/unistd.h
Chris Lattner 3b0942f64e On win32, process.h provides some of the traditional stuff that unistd
provides.  This seems like a relatively clean way to get it.

llvm-svn: 13936
2004-06-01 23:47:00 +00:00

28 lines
602 B
C

/*
* The LLVM Compiler Infrastructure
*
* This file was developed by the LLVM research group and is distributed under
* the University of Illinois Open Source License. See LICENSE.TXT for details.
*
*===----------------------------------------------------------------------===//
*
* Description:
* This header file is the autoconf replacement for unistd.h (if it lives
* on the system).
*/
#ifndef _CONFIG_UNISTD_H
#define _CONFIG_UNISTD_H
#include "Config/config.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef _WIN32
#include <process.h>
#endif
#endif