summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2022-07-19 20:40:34 +0100
committerSimon McVittie <smcv@collabora.com>2022-07-19 20:50:33 +0100
commit624efc0781411c3c7d46c2e33863b8c38fe4d464 (patch)
tree9d15fe38808853640383eff1eaea55087ba65d21 /cmake
parenta54ed9ffadcbb2bceebdfb5797e38d49c26289eb (diff)
downloaddbus-624efc0781411c3c7d46c2e33863b8c38fe4d464.tar.gz
cmake: Stop redefining snprintf() to _snprintf() on MSVC
We now require a mostly-C99 compiler like MSVC 2015, which provides Standard C snprintf(). Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/config.h.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmake/config.h.cmake b/cmake/config.h.cmake
index 2efc93f2..44b79c03 100644
--- a/cmake/config.h.cmake
+++ b/cmake/config.h.cmake
@@ -255,7 +255,6 @@
# define uid_t int
# define gid_t int
# else
-# define snprintf _snprintf
typedef int mode_t;
# if !defined(_WIN32_WCE)
# define strtoll _strtoi64