mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-27 15:30:33 +00:00
fixed issue #726 (snprintf undefined in test_arm_regression)
This commit is contained in:
parent
b4bc33dba5
commit
1e9efd8581
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user