Fix #1420: Capstone 4 fails to build when targeting UWP (#1421)

This commit is contained in:
ceeac 2019-03-14 16:26:52 +01:00 committed by Nguyen Anh Quynh
parent f6ccb88f49
commit e0340adcbb

View File

@ -3,6 +3,17 @@
#ifdef CAPSTONE_HAS_TMS320C64X
#ifdef _MSC_VER
// Disable security warnings for strcpy
#ifndef _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS
#endif
// Banned API Usage : strcpy is a Banned API as listed in dontuse.h for
// security purposes.
#pragma warning(disable:28719)
#endif
#include <ctype.h>
#include <string.h>