mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
os2: changes to debug macros
This commit is contained in:
parent
110a0f7bb1
commit
861ac81b37
@ -5,11 +5,13 @@
|
|||||||
#include "SDL_stdinc.h"
|
#include "SDL_stdinc.h"
|
||||||
#include "geniconv/geniconv.h"
|
#include "geniconv/geniconv.h"
|
||||||
|
|
||||||
#if OS2DEBUG==SDLOUTPUT
|
#ifdef OS2DEBUG
|
||||||
|
#if (OS2DEBUG-0 >= 2)
|
||||||
# define debug(s,...) SDL_LogDebug( SDL_LOG_CATEGORY_APPLICATION, \
|
# define debug(s,...) SDL_LogDebug( SDL_LOG_CATEGORY_APPLICATION, \
|
||||||
__func__"(): "##s, ##__VA_ARGS__ )
|
__func__"(): "##s, ##__VA_ARGS__ )
|
||||||
#elif defined(OS2DEBUG)
|
#else
|
||||||
# define debug(s,...) printf( __func__"(): "##s"\n", ##__VA_ARGS__ )
|
# define debug(s,...) printf( __func__"(): "##s"\n", ##__VA_ARGS__ )
|
||||||
|
#endif
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user