Skip to content
Snippets Groups Projects
Commit 616bf939 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard
Browse files

include: Use GCC-style attributes and builtins on Clang MSVC target.

parent 078cf6a2
Branches
Tags
1 merge request!484include: Use GCC-style attributes and builtins on Clang MSVC target.
Pipeline #18595 skipped
......@@ -75,7 +75,7 @@ static inline size_t align(size_t addr, size_t alignment)
return (addr + (alignment - 1)) & ~(alignment - 1);
}
#ifdef __GNUC__
#if defined(__GNUC__) || defined(__clang__)
# define VKD3D_NORETURN __attribute__((noreturn))
# ifdef __MINGW_PRINTF_FORMAT
# define VKD3D_PRINTF_FUNC(fmt, args) __attribute__((format(__MINGW_PRINTF_FORMAT, fmt, args)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment