mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-25 11:05:15 +00:00
Fixed C99 Compiler warning
This commit is contained in:
parent
0449c465e7
commit
b7f0da1493
@ -59,9 +59,11 @@ struct frag_buffer {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#ifdef WINDOW_DEBUG
|
#ifdef WINDOW_DEBUG
|
||||||
#define DEBUG(msg, ...) fprintf(stderr, "[WINDOW-DEBUG] (%s:%d) " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__)
|
#define DEBUG(...) fprintf(stderr, "[WINDOW-DEBUG] (%s:%d)", __FILE__, __LINE__);\
|
||||||
|
fprintf(stderr, __VA_ARGS__);\
|
||||||
|
fprintf(stderr, "\n")
|
||||||
#else
|
#else
|
||||||
#define DEBUG(msg, ...)
|
#define DEBUG(...)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define AFTER(w, o) ((w->window_start + o) % w->length)
|
#define AFTER(w, o) ((w->window_start + o) % w->length)
|
||||||
|
Loading…
Reference in New Issue
Block a user