get rid of c++ style comments

pull/182/head
Brad House 7 years ago
parent 34b2aff21b
commit 8dff81569f
  1. 2
      ares_init.c
  2. 2
      ares_platform.c

@ -952,7 +952,7 @@ static BOOL ares_IsWindowsVistaOrGreater(void)
vinfo.dwOSVersionInfoSize = sizeof(vinfo);
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable:4996) // warning C4996: 'GetVersionExW': was declared deprecated
#pragma warning(disable:4996) /* warning C4996: 'GetVersionExW': was declared deprecated */
#endif
if (!GetVersionEx(&vinfo) || vinfo.dwMajorVersion < 6)
return FALSE;

@ -38,7 +38,7 @@ win_platform ares__getplatform(void)
OsvEx.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEX);
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable:4996) // warning C4996: 'GetVersionExW': was declared deprecated
#pragma warning(disable:4996) /* warning C4996: 'GetVersionExW': was declared deprecated */
#endif
if (!GetVersionEx((void *)&OsvEx))
{

Loading…
Cancel
Save