summaryrefslogtreecommitdiff
path: root/include/llvm/Config/unistd.h
blob: 847db7a3c6ee78c802c00395d6aef43bfa8611a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* 
 *                     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"

#if defined(HAVE_UNISTD_H) && !defined(_MSC_VER)
#include <unistd.h>
#endif

#ifdef _WIN32
#include <process.h>
#include <io.h>
#endif

#endif