summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/pseudo_llvm-rc.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-02-02 19:45:39 (GMT)
committerBrad King <brad.king@kitware.com>2022-02-02 19:46:25 (GMT)
commitc26b064b8c5f7cd10a15a7d8b0c354a1be7bb738 (patch)
tree81d93bd0aaa79d04fd6bcb3d3dc31bc7e2b4c054 /Tests/RunCMake/pseudo_llvm-rc.c
parent92459258108c0036808f29f83a8503fea18ccee9 (diff)
downloadCMake-c26b064b8c5f7cd10a15a7d8b0c354a1be7bb738.zip
CMake-c26b064b8c5f7cd10a15a7d8b0c354a1be7bb738.tar.gz
CMake-c26b064b8c5f7cd10a15a7d8b0c354a1be7bb738.tar.bz2
Tests: Suppress MSVC CRT deprecation warnings in pseudo_llvm-rc
Diffstat (limited to 'Tests/RunCMake/pseudo_llvm-rc.c')
-rw-r--r--Tests/RunCMake/pseudo_llvm-rc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/pseudo_llvm-rc.c b/Tests/RunCMake/pseudo_llvm-rc.c
index 7acb2a3..65f0a9e 100644
--- a/Tests/RunCMake/pseudo_llvm-rc.c
+++ b/Tests/RunCMake/pseudo_llvm-rc.c
@@ -1,3 +1,7 @@
+#ifndef _CRT_SECURE_NO_WARNINGS
+# define _CRT_SECURE_NO_WARNINGS
+#endif
+
#include <stdio.h>
#include <string.h>