From: bernie Date: Tue, 29 Mar 2005 06:39:59 +0000 (+0000) Subject: setjmp.h, time_t: Remove ancient retrocompatibility; Remove MSVC double to float... X-Git-Tag: 1.0.0~844 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=b3a25d5dc805f7f92262a2156d82b0cf5a9e5492;p=bertos.git setjmp.h, time_t: Remove ancient retrocompatibility; Remove MSVC double to float hack. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@397 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/compiler.h b/compiler.h index 6f02ba40..73af8910 100755 --- a/compiler.h +++ b/compiler.h @@ -14,6 +14,9 @@ /*#* *#* $Log$ + *#* Revision 1.44 2005/03/29 06:39:59 bernie + *#* setjmp.h, time_t: Remove ancient retrocompatibility; Remove MSVC double to float hack. + *#* *#* Revision 1.43 2005/03/01 23:15:12 bernie *#* Remove compatibility hack. *#* @@ -105,11 +108,6 @@ #elif defined(_MSC_VER) /* Win32 emulation support */ - #include - - /* FIXME: I can't remember why exactly this was needed (NdBernie) */ - #define float double - /* MSVC doesn't provide . */ #ifndef __cplusplus #define true (1==1) @@ -153,7 +151,6 @@ #else /* Include some standard C89/C99 stuff */ #include - #include #include #endif @@ -180,7 +177,6 @@ #include #include #include - #include // CodeWarrior has size_t as built-in type, but does not define this symbol. #define _SIZE_T_DEFINED @@ -364,15 +360,6 @@ typedef unsigned char page_t; /*!< Type for banked memory pages. */ typedef int ssize_t; #endif #endif - -#if !(defined(_TIME_T_DEFINED) || defined(__time_t_defined) || defined(_EMUL)) - /*! For backwards compatibility. Use mtime_t in new code. */ - #define time_t mtime_t - #define SIZEOF_TIME_T SIZEOF_MTIME_T -#else - /* Just a guess, but quite safe. */ - #define SIZEOF_TIME_T SIZEOF_LONG -#endif /* _TIME_T_DEFINED || __time_t_defined */ /*\}*/