// Copyright 2010-2020 The Khronos Group Inc. // SPDX-License-Identifier: Apache-2.0 // stdafx.h #pragma once #include "targetver.h" #define _CRT_SECURE_NO_WARNINGS #include #include #include #ifdef _WIN32 #include #include #if _MSC_VER < 1900 #define snprintf _snprintf #endif #else #include #define _setmode(x, y) 0 #define _tmain main #define _TCHAR char #define _tcsncmp strncmp #define _tcscmp strcmp #define _tgetenv getenv #define _tcscpy strcpy #define _stscanf sscanf #define _tcslen strlen #define _tcscat strcat #define _tcsrchr strrchr #define _tcschr strchr #define _tfopen fopen #define _trename rename #define _tunlink unlink #define _T(x) x #endif #include #include #include