win32-vd_agent/common
Uri Lublin e04ffbc608 Fix Visual Studio compiler warning (strcat and sscanf)
This is a follow-up to commits 492ee05a6b and 4b9e9b1d28

Visual Studio complains:
  .\file_xfer.cpp(90) : warning C4996: 'strcat': This function or variable
  may be unsafe. Consider using strcat_s instead.
  To disable deprecation, use _CRT_SECURE_NO_WARNINGS.
  See online help for details.

And a similar complain for sscanf.

Replace them with the secure function when compiling with Visual Studio.
Note that the size provided is sizeof(d), which means all calls to
sscanf and strcat must be done with the first param (destination) being
an array and not a pointer.
2014-12-30 17:42:17 +02:00
..
stdint.h mingw: don't redefine SIZE_MAX 2012-02-23 19:03:25 +01:00
vdcommon.cpp vdservice: extract supported_system_version() to vdcommon 2013-03-18 12:54:04 +02:00
vdcommon.h Fix Visual Studio compiler warning (strcat and sscanf) 2014-12-30 17:42:17 +02:00
vdlog.cpp vdlog: Get swprinft_s definition from vdcommon.h 2013-01-22 12:43:44 +01:00
vdlog.h Add OLDMSVCRT fallback for _ftime_s 2013-01-22 12:43:51 +01:00