diff options
Diffstat (limited to 'branches/1.0/thirdparties/wince/include/wcecompat/_time.h')
-rw-r--r-- | branches/1.0/thirdparties/wince/include/wcecompat/_time.h | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/branches/1.0/thirdparties/wince/include/wcecompat/_time.h b/branches/1.0/thirdparties/wince/include/wcecompat/_time.h deleted file mode 100644 index 83edf8b..0000000 --- a/branches/1.0/thirdparties/wince/include/wcecompat/_time.h +++ /dev/null @@ -1,62 +0,0 @@ -/* wcecompat: Windows CE C Runtime Library "compatibility" library. - * - * Copyright (C) 2001-2002 Essemer Pty Ltd. All rights reserved. - * http://www.essemer.com.au/ - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - - -#ifndef __wcecompat__TIME_H__ -#define __wcecompat__TIME_H__ - - -#ifdef __cplusplus -extern "C" { -#endif - - -#include <stdlib.h> // time_t defined there -//typedef int time_t; - -typedef unsigned long clock_t; -#define CLOCKS_PER_SEC (1000) - -time_t time(time_t* t); -clock_t __cdecl clock(void); - -struct tm -{ - int tm_sec; - int tm_min; - int tm_hour; - int tm_mday; - int tm_mon; - int tm_year; - int tm_wday; - int tm_yday; - int tm_isdst; -}; - -struct tm* localtime(const time_t* clock); -struct tm * __cdecl gmtime(const time_t *clock); - - -#ifdef __cplusplus -} -#endif - - -#endif // __wcecompat__TIME_H__ |