From: bernie Date: Mon, 20 Feb 2006 02:01:56 +0000 (+0000) Subject: Depend on cfg/os.h. X-Git-Tag: 1.0.0~713 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=126666459b99272b966ba70e946a27e547ec4600;p=bertos.git Depend on cfg/os.h. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@528 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/cfg/debug.h b/cfg/debug.h index 6759344c..38029081 100755 --- a/cfg/debug.h +++ b/cfg/debug.h @@ -17,6 +17,9 @@ /*#* *#* $Log$ + *#* Revision 1.7 2006/02/20 02:01:56 bernie + *#* Depend on cfg/os.h. + *#* *#* Revision 1.6 2006/02/17 22:28:37 bernie *#* Support TRACE() and TRACEMSG() on hosted targets. *#* @@ -62,16 +65,7 @@ #ifndef DEVLIB_DEBUG_H #define DEVLIB_DEBUG_H -/* - * Try to guess whether we're running in a hosted or embedded environment. - */ -#ifndef OS_HOSTED - #if defined(__unix__) || defined(_WIN32) - #define OS_HOSTED 1 - #else - #define OS_HOSTED 0 - #endif -#endif /* !OS_HOSTED */ +#include #if OS_HOSTED /*