Skip to content

Commit

Permalink
fixed issue #726 (snprintf undefined in test_arm_regression)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexodia authored and aquynh committed Sep 15, 2016
1 parent 03ff67a commit d9f96e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions suite/arm/test_arm_regression.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
/* By David Hogarty, 2014 */

// the following must precede stdio (woo, thanks msft)
#ifdef _MSC_VER
//#define _CRT_SECURE_NO_WARNINGS
//#define snprintf _snprintf
#if defined(_MSC_VER) && _MSC_VER < 1900
#define _CRT_SECURE_NO_WARNINGS
#define snprintf _snprintf
#endif
#include <stdio.h>
#include <stdlib.h>
Expand Down

0 comments on commit d9f96e7

Please sign in to comment.