From 126666459b99272b966ba70e946a27e547ec4600 Mon Sep 17 00:00:00 2001 From: bernie Date: Mon, 20 Feb 2006 02:01:56 +0000 Subject: [PATCH] Depend on cfg/os.h. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@528 38d2e660-2303-0410-9eaa-f027e97ec537 --- cfg/debug.h | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) 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 /* -- 2.25.1