LLVM API Documentation
00001 /* 00002 * The LLVM Compiler Infrastructure 00003 * 00004 * This file was developed by the LLVM research group and is distributed under 00005 * the University of Illinois Open Source License. See LICENSE.TXT for details. 00006 * 00007 *===----------------------------------------------------------------------===// 00008 * 00009 * Description: 00010 * This header file is the autoconf replacement for time.h (if it lives 00011 * on the system). 00012 * 00013 * The added benefit of this header file is that it removes the 00014 * "time with sys/time" problem. 00015 * 00016 * According to the autoconf manual, some systems have a sys/time.h that 00017 * includes time.h, but time.h is not written to handle multiple 00018 * inclusion. This means that a program including sys/time.h cannot 00019 * also include time.h. 00020 * 00021 * This header file fixes that problem. 00022 */ 00023 00024 #ifndef _CONFIG_TIME_H 00025 #define _CONFIG_TIME_H 00026 00027 #include "llvm/Config/config.h" 00028 00029 #ifdef HAVE_TIME_H 00030 #include <time.h> 00031 #endif 00032 00033 #endif