diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-03-23 11:33:12 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-03 14:54:20 -0700 |
commit | 197105a5349d69fff902149cbe7fe7475561d69a (patch) | |
tree | 90f61b5efb012389e549414dbf1a3d82e3b88cce /drivers/staging/epl/Debug.h | |
parent | 541a8bde90068471e9fc26cfe4c5fcb11dcd751b (diff) |
Staging: epl: unwind rest of _LINUX_ #ifdefs
All the non-Linux #defines are now resolved, so remove
the board/system type defines as they are not needed anymore.
Cc: Daniel Krueger <daniel.krueger@systec-electronic.com>
Cc: Ronald Sieber <Ronald.Sieber@systec-electronic.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/epl/Debug.h')
-rw-r--r-- | drivers/staging/epl/Debug.h | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/drivers/staging/epl/Debug.h b/drivers/staging/epl/Debug.h index 2761606b688..35f784c82d2 100644 --- a/drivers/staging/epl/Debug.h +++ b/drivers/staging/epl/Debug.h @@ -628,7 +628,7 @@ // The macro DEBUG_DUMP_DATA() can be used with the same debug-levels to dump // out data bytes. Function DumpData() has to be included. // NOTE: DUMP_DATA has to be defined in project settings. -#if (!defined (NDEBUG) && defined (DUMP_DATA)) || (DEV_SYSTEM == _DEV_WIN32_) +#if (!defined (NDEBUG) && defined (DUMP_DATA)) #ifdef __cplusplus extern "C" { @@ -654,24 +654,6 @@ extern "C" { // deleted from compiler (in release version too). #if !defined (NDEBUG) || defined (DEBUG_KEEP_ASSERT) -#if (DEV_SYSTEM == _DEV_WIN32_) - - // For WIN32 process will be killed after closing message box. - -#define DEBUG_ASSERT0(expr,str) if (!(expr ) && ((DEBUG_GLB_LVL() & DEBUG_LVL_ASSERT)!=0)) { \ - MessageBox (NULL, \ - "Assertion failed: line " __LINE__ " file " __FILE__ \ - "\n -> " str "\n"); \ - ExitProcess (-1); } - -#define DEBUG_ASSERT1(expr,str,p1) if (!(expr ) && ((DEBUG_GLB_LVL() & DEBUG_LVL_ASSERT)!=0)) { \ - MessageBox (NULL, \ - "Assertion failed: line " __LINE__ " file " __FILE__ \ - "\n -> " str "\n"); \ - ExitProcess (-1); } - -#else - // For microcontrollers process will be stopped using endless loop. #define DEBUG_ASSERT0(expr,str) if (!(expr )) { \ @@ -687,7 +669,6 @@ extern "C" { " -> 0x%08lX\n", __LINE__, __FILE__, str, (DWORD) p1); \ while (1); } -#endif #else |