mirror of
https://gitlab.com/qemu-project/capstone.git
synced 2025-09-17 02:01:15 +08:00
Merge pull request #774 from mrexodia/issue726_snprintf
fixed issue #726 (snprintf undefined in test_arm_regression)
This commit is contained in:
@ -2,9 +2,9 @@
|
|||||||
/* By David Hogarty, 2014 */
|
/* By David Hogarty, 2014 */
|
||||||
|
|
||||||
// the following must precede stdio (woo, thanks msft)
|
// the following must precede stdio (woo, thanks msft)
|
||||||
#ifdef _MSC_VER
|
#if defined(_MSC_VER) && _MSC_VER < 1900
|
||||||
//#define _CRT_SECURE_NO_WARNINGS
|
#define _CRT_SECURE_NO_WARNINGS
|
||||||
//#define snprintf _snprintf
|
#define snprintf _snprintf
|
||||||
#endif
|
#endif
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
Reference in New Issue
Block a user