mirror of
https://github.com/yquake2/ref_vk.git
synced 2024-11-26 13:51:07 +00:00
Make basename() fully compliant and simplify it a bit
This commit is contained in:
parent
955944a71a
commit
0c4606973e
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ typedef unsigned char byte;
|
||||||
// then the __STDC_VERSION__ >= 201112L case above is used
|
// then the __STDC_VERSION__ >= 201112L case above is used
|
||||||
|
|
||||||
#define YQ2_ALIGNAS_SIZE(SIZE) __declspec(align(SIZE))
|
#define YQ2_ALIGNAS_SIZE(SIZE) __declspec(align(SIZE))
|
||||||
// FIXME: for some reason, the following line doesn't work, which is why we require C11 support for MSVC
|
// FIXME: for some reason, the following line doesn't work
|
||||||
//#define YQ2_ALIGNAS_TYPE( TYPE ) __declspec(align(__alignof(TYPE)))
|
//#define YQ2_ALIGNAS_TYPE( TYPE ) __declspec(align(__alignof(TYPE)))
|
||||||
|
|
||||||
#ifdef _WIN64 // (hopefully) good enough workaround
|
#ifdef _WIN64 // (hopefully) good enough workaround
|
||||||
|
|
Loading…
Reference in a new issue