2003-10-20 20:11:43 +00:00
|
|
|
/*
|
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
*===----------------------------------------------------------------------===//
|
2003-06-30 21:59:07 +00:00
|
|
|
*
|
|
|
|
* 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"
|
|
|
|
|
2004-06-04 20:05:35 +00:00
|
|
|
#if defined(HAVE_UNISTD_H) && !defined(_MSC_VER)
|
2003-06-30 21:59:07 +00:00
|
|
|
#include <unistd.h>
|
|
|
|
#endif
|
|
|
|
|
2004-06-01 23:47:00 +00:00
|
|
|
#ifdef _WIN32
|
|
|
|
#include <process.h>
|
2004-06-04 20:05:35 +00:00
|
|
|
#include <io.h>
|
2004-06-01 23:47:00 +00:00
|
|
|
#endif
|
|
|
|
|
2003-06-30 21:59:07 +00:00
|
|
|
#endif
|