mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-17 09:33:51 +00:00
16 lines
317 B
C
16 lines
317 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
// Compatibility shim for building AMD FSR2 SDK sources on non-MSVC toolchains.
|
||
|
|
#include <stddef.h>
|
||
|
|
#include <wchar.h>
|
||
|
|
#include <locale>
|
||
|
|
#include <codecvt>
|
||
|
|
|
||
|
|
#ifndef _countof
|
||
|
|
#define _countof(x) (sizeof(x) / sizeof((x)[0]))
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#ifndef wcscpy_s
|
||
|
|
#define wcscpy_s(dst, src) wcscpy((dst), (src))
|
||
|
|
#endif
|