diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-10-11 04:16:40 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-10-11 04:16:40 +0200 |
commit | c850866eceac5b943ff54577e4927e4c18cab5fb (patch) | |
tree | 80b8578877399c445d3e3df869cafd80b2a15239 /src/osc_graphics.h | |
parent | 0d9816d36341bac163b640ccdba2bc5b4dd32614 (diff) | |
download | osc-graphics-c850866eceac5b943ff54577e4927e4c18cab5fb.tar.gz |
Diffstat (limited to 'src/osc_graphics.h')
-rw-r--r-- | src/osc_graphics.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/osc_graphics.h b/src/osc_graphics.h index d1260c4..b634913 100644 --- a/src/osc_graphics.h +++ b/src/osc_graphics.h @@ -54,18 +54,18 @@ public: } \ } while (0) -#define WARNING(FMT, ...) do { \ +#define WARNING_MSG(FMT, ...) do { \ fprintf(stderr, "%s(%d): Warning: " FMT "\n", \ __FILE__, __LINE__, ##__VA_ARGS__); \ } while (0) -#define ERROR(FMT, ...) do { \ +#define ERROR_MSG(FMT, ...) do { \ fprintf(stderr, "%s(%d): Error: " FMT "\n", \ __FILE__, __LINE__, ##__VA_ARGS__); \ } while (0) #define SDL_ERROR(FMT, ...) \ - ERROR(FMT ": %s", ##__VA_ARGS__, SDL_GetError()) + ERROR_MSG(FMT ": %s", ##__VA_ARGS__, SDL_GetError()) /* * Declarations |