aboutsummaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorTsuda Kageyu <tsuda.kageyu@gmail.com>2015-11-13 10:06:01 +0900
committerTsuda Kageyu <tsuda.kageyu@gmail.com>2015-11-13 10:06:01 +0900
commit86c7e905ba7872fa3a4b3e96b0d8b6ca4fa35e56 (patch)
treebc8c85f8bbb5412694403b0b8eb63d9aee7ca5d5 /config.h.cmake
parentec8e611909a8998e5b684cf5f22065c2d1ba9399 (diff)
Silence some MSVC security warnings by replacing strdup() with _strdup().
Backported from taglib2.
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index ee0e67ac..12e713fc 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -19,6 +19,9 @@
#cmakedefine HAVE_VSNPRINTF 1
#cmakedefine HAVE_VSPRINTF_S 1
+/* Defined if your compiler supports ISO _strdup. */
+#cmakedefine HAVE_ISO_STRDUP 1
+
/* Defined if you have libz */
#cmakedefine HAVE_ZLIB 1