Skip to content

Commit 423e252

Browse files
author
Henry Roeland
committed
Check defines if already set
1 parent d18ba73 commit 423e252

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

include/sass.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,21 @@
55

66
#ifdef _MSC_VER
77
#pragma warning(disable : 4503)
8+
9+
#ifndef _SCL_SECURE_NO_WARNINGS
810
#define _SCL_SECURE_NO_WARNINGS
11+
#endif
12+
13+
#ifndef _CRT_SECURE_NO_WARNINGS
914
#define _CRT_SECURE_NO_WARNINGS
15+
#endif
16+
17+
#ifndef _CRT_NONSTDC_NO_DEPRECATE
1018
#define _CRT_NONSTDC_NO_DEPRECATE
1119
#endif
1220

21+
#endif
22+
1323
#include <stddef.h>
1424
#include <stdbool.h>
1525

0 commit comments

Comments
 (0)