00001 /* File: xsb_time.h 00002 ** Author(s): kifer 00003 ** Contact: xsb-contact@cs.sunysb.edu 00004 ** 00005 ** Copyright (C) The Research Foundation of SUNY, 2001 00006 ** 00007 ** XSB is free software; you can redistribute it and/or modify it under the 00008 ** terms of the GNU Library General Public License as published by the Free 00009 ** Software Foundation; either version 2 of the License, or (at your option) 00010 ** any later version. 00011 ** 00012 ** XSB is distributed in the hope that it will be useful, but WITHOUT ANY 00013 ** WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 00014 ** FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for 00015 ** more details. 00016 ** 00017 ** You should have received a copy of the GNU Library General Public License 00018 ** along with XSB; if not, write to the Free Software Foundation, 00019 ** Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00020 ** 00021 ** $Id: xsb_time.h,v 1.3 2005/01/14 18:31:55 ruim Exp $ 00022 ** 00023 */ 00024 00025 #include "xsb_config.h" 00026 00027 #ifdef WIN_NT 00028 #include <time.h> 00029 00030 #else /* Unix */ 00031 00032 #if TIME_WITH_SYS_TIME 00033 #include <sys/time.h> 00034 #include <time.h> 00035 #else 00036 #ifdef HAVE_SYS_TIME_H 00037 #include <sys/time.h> 00038 #else 00039 #include <time.h> 00040 #endif 00041 #endif 00042 00043 #endif