Be a bit more efficient when processing the active and inactive
[oota-llvm.git] / include / llvm / Config / time.h
1 /* 
2  *                     The LLVM Compiler Infrastructure
3  *
4  * This file was developed by the LLVM research group and is distributed under
5  * the University of Illinois Open Source License. See LICENSE.TXT for details.
6  * 
7  *===----------------------------------------------------------------------===//
8  *
9  * Description:
10  *      This header file is the autoconf replacement for time.h (if it lives
11  *      on the system).
12  *
13  *      The added benefit of this header file is that it removes the
14  *      "time with sys/time" problem.
15  *
16  *      According to the autoconf manual, some systems have a sys/time.h that
17  *      includes time.h, but time.h is not written to handle multiple
18  *      inclusion.  This means that a program including sys/time.h cannot
19  *      also include time.h.
20  *
21  *      This header file fixes that problem.
22  */
23
24 #ifndef _CONFIG_TIME_H
25 #define _CONFIG_TIME_H
26
27 #include "Config/config.h"
28
29 #ifdef HAVE_TIME_H
30 #include <time.h>
31 #endif
32
33 #endif