summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestResourceLock/lockFile.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CTestTestResourceLock/lockFile.c')
-rw-r--r--Tests/CTestTestResourceLock/lockFile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CTestTestResourceLock/lockFile.c b/Tests/CTestTestResourceLock/lockFile.c
index f8edc3f..a6a4dc0 100644
--- a/Tests/CTestTestResourceLock/lockFile.c
+++ b/Tests/CTestTestResourceLock/lockFile.c
@@ -1,7 +1,7 @@
#include <stdio.h>
/* Disable deprecation warning for fopen */
-#define _CRT_SECURE_NO_WARNINGS
+#pragma warning(disable: 4996)
/*if run serially, works fine.
If run in parallel, someone will attempt to delete