Skip to content

Commit c3458c9

Browse files
committed
Prevent silly strncpy security warning in MSVC.
#34
1 parent a67bf22 commit c3458c9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

ini.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ home page for more info:
77
88
*/
99

10+
#ifdef _MSC_VER
11+
#define _CRT_SECURE_NO_WARNINGS
12+
#endif
13+
1014
#include <stdio.h>
1115
#include <ctype.h>
1216
#include <string.h>

0 commit comments

Comments
 (0)