diff options
author | Max Horn | 2006-03-08 10:00:12 +0000 |
---|---|---|
committer | Max Horn | 2006-03-08 10:00:12 +0000 |
commit | c59ca20ce6d137a28703d29ce11a62b553f007cb (patch) | |
tree | 963efe8132ce083e6def1d4dc3573259bdb25b57 /common/scummsys.h | |
parent | 871c394e285a24d33ad9bd8141b64a76ef48046d (diff) | |
download | scummvm-rg350-c59ca20ce6d137a28703d29ce11a62b553f007cb.tar.gz scummvm-rg350-c59ca20ce6d137a28703d29ce11a62b553f007cb.tar.bz2 scummvm-rg350-c59ca20ce6d137a28703d29ce11a62b553f007cb.zip |
Check format string in calls of debug/error (adapted from patch #1445422)
svn-id: r21139
Diffstat (limited to 'common/scummsys.h')
-rw-r--r-- | common/scummsys.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/scummsys.h b/common/scummsys.h index 27be0cb28e..49257cd799 100644 --- a/common/scummsys.h +++ b/common/scummsys.h @@ -369,8 +369,9 @@ #if defined(__GNUC__) #define GCC_PACK __attribute__((packed)) #define NORETURN __attribute__((__noreturn__)) + #define GCC_PRINTF(x,y) __attribute__((format(printf, x, y))) #else - #define GCC_PACK + #define GCC_PRINTF(x,y) #endif |