Skip to content

Commit

Permalink
Prevent silly strncpy security warning in MSVC.
Browse files Browse the repository at this point in the history
  • Loading branch information
benhoyt committed Apr 17, 2015
1 parent a67bf22 commit c3458c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ini.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ home page for more info:
*/

#ifdef _MSC_VER
#define _CRT_SECURE_NO_WARNINGS
#endif

#include <stdio.h>
#include <ctype.h>
#include <string.h>
Expand Down

0 comments on commit c3458c9

Please sign in to comment.