Depend on cfg/os.h.
authorbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 20 Feb 2006 02:01:56 +0000 (02:01 +0000)
committerbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 20 Feb 2006 02:01:56 +0000 (02:01 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@528 38d2e660-2303-0410-9eaa-f027e97ec537

cfg/debug.h

index 6759344ce4da876730afd660ab31c7fa65e2aa56..38029081aa5ae942f1f5c918223b1a34fae5d3e0 100755 (executable)
@@ -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.
  *#*
 #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 <cfg/os.h>
 
 #if OS_HOSTED
        /*