Mercurial > flash_v2
diff packages/infra/current/src/buffer.cxx @ 76:435cced73e2f ecos-v1_3_1-release
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
| author | jlarmour |
|---|---|
| date | Tue, 28 Mar 2000 14:10:45 +0000 |
| parents | 9c122302a886 |
| children | 59d97b6ba612 |
line wrap: on
line diff
--- a/packages/infra/current/src/buffer.cxx +++ b/packages/infra/current/src/buffer.cxx @@ -176,6 +176,8 @@ write_whattracepost( cyg_uint32 what ) // ------------------------------------------------------------------------- +#if defined(CYGDBG_USE_TRACING) || defined(CYGDBG_USE_ASSERTS) + static const char *trim_file(const char *file) { #if CYG_FILENAME @@ -250,8 +252,12 @@ static void write_lnum( cyg_uint32 lnum) #endif } +#endif // defined(CYGDBG_USE_TRACING) || defined(CYGDBG_USE_ASSERTS) + // ------------------------------------------------------------------------- +#if defined(CYGDBG_USE_TRACING) || defined(CYGDBG_USE_ASSERTS) + #if CYG_THREADID static cyg_uint32 get_tid(void) { @@ -267,6 +273,8 @@ static cyg_uint32 get_tid(void) # define get_tid() (0xFFFF) #endif +#endif // defined(CYGDBG_USE_TRACING) || defined(CYGDBG_USE_ASSERTS) + #ifdef CYGDBG_USE_ASSERTS static void write_thread_id() {
