1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/include/llvm/Config/time.h
Reid Spencer c4abcbefb1 Changes For Bug 352
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.

llvm-svn: 16137
2004-09-01 22:55:40 +00:00

34 lines
931 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 time.h (if it lives
* on the system).
*
* The added benefit of this header file is that it removes the
* "time with sys/time" problem.
*
* According to the autoconf manual, some systems have a sys/time.h that
* includes time.h, but time.h is not written to handle multiple
* inclusion. This means that a program including sys/time.h cannot
* also include time.h.
*
* This header file fixes that problem.
*/
#ifndef _CONFIG_TIME_H
#define _CONFIG_TIME_H
#include "llvm/Config/config.h"
#ifdef HAVE_TIME_H
#include <time.h>
#endif
#endif