初始化内容

This commit is contained in:
2026-09-16 14:07:40 +08:00
parent 6934b390bf
commit 4f643c1e7c
18350 changed files with 6088489 additions and 305 deletions
+28
View File
@@ -0,0 +1,28 @@
// Copyright 2010-2020 The Khronos Group Inc.
// SPDX-License-Identifier: Apache-2.0
// stdafx.h
#pragma once
#if defined(_WIN32)
// _CRT_SECURE_NO_WARNINGS must be defined before <windows.h>,
// <stdio.h> and and <iostream>
#define _CRT_SECURE_NO_WARNINGS
#endif
#include <assert.h>
#include <stdio.h>
#ifdef _WIN32
#include <io.h>
#if _MSC_VER < 1900
#define snprintf _snprintf
#endif
#else
#include <unistd.h>
#define _setmode(x, y) 0
#endif
#include <fcntl.h>
#include <errno.h>
#include <string.h>