]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
cmake: Stop redefining snprintf() to _snprintf() on MSVC
authorSimon McVittie <smcv@collabora.com>
Tue, 19 Jul 2022 19:40:34 +0000 (20:40 +0100)
committerSimon McVittie <smcv@collabora.com>
Tue, 19 Jul 2022 19:50:33 +0000 (20:50 +0100)
We now require a mostly-C99 compiler like MSVC 2015, which provides
Standard C snprintf().

Signed-off-by: Simon McVittie <smcv@collabora.com>
cmake/config.h.cmake

index 2efc93f2996ca8fd70b63bea686ceaff2fc97ba6..44b79c03b5478df28d5d25a5f8f8a6e382850eea 100644 (file)
 #  define uid_t int
 #  define gid_t int
 # else
-#  define snprintf _snprintf
    typedef int mode_t;
 #  if !defined(_WIN32_WCE)
 #    define strtoll _strtoi64