1
0
Fork 0
forked from len0rd/rockbox

ldebugf() is only present in SIMULATOR, we set LDEBUGF to be the normal

debugf() when not building simulator


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2728 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2002-10-21 07:48:00 +00:00
parent aeb3d0dcef
commit f45345edd9

View file

@ -26,13 +26,18 @@ extern void ldebugf(char* file, int line, char *fmt, ...);
#ifdef __GNUC__
/* */
#if defined(DEBUG) || defined(SIMULATOR)
#if defined(SIMULATOR)
#define DEBUGF debugf
#define LDEBUGF(...) ldebugf(__FILE__, __LINE__, __VA_ARGS__)
#else
#if defined(DEBUG)
#define DEBUGF debugf
#define LDEBUGF debugf
#else
#define DEBUGF(...)
#define LDEBUGF(...)
#endif
#endif
#else