diff options
author | Patrick Spendrin <ps_ml@gmx.de> | 2008-02-24 20:52:41 +0100 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2008-02-24 20:52:41 +0100 |
commit | 101e526c63175ffc1a75e1b68da7bb4fff9cd530 (patch) | |
tree | aa1b69bc1955db4885f09e4a78682b16d2a4f8cd /config.h.cmake | |
parent | f7f8ab488257c3979d20e5c0690ec5d7c2cd831b (diff) |
define snprintf to _snprintf if we are building on MSVC
Diffstat (limited to 'config.h.cmake')
-rw-r--r-- | config.h.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake index a496b3f8..a9b58c85 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -138,6 +138,10 @@ #define HAVE_BOOLEAN #endif +/* MS has defined snprintf as deprecated */ +#ifdef _MSC_VER +#define snprintf _snprintf +#endif /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ |