Make compiel with windows.h

This commit is contained in:
bumbread 2022-08-05 14:20:20 +11:00
parent 3b34ade36e
commit cc3f1eba1b
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,9 @@
#pragma once #pragma once
#if defined(_MSC_VER)
#define _Noreturn __declspec(noreturn)
#endif
#if !defined(__STDC_LIB_EXT1__) #if !defined(__STDC_LIB_EXT1__)
#define __STDC_LIB_EXT1__ #define __STDC_LIB_EXT1__
#endif #endif