]> Git Repo - linux.git/blob - include/linux/const.h
Merge tag 'amd-drm-next-6.5-2023-06-09' of https://gitlab.freedesktop.org/agd5f/linux...
[linux.git] / include / linux / const.h
1 #ifndef _LINUX_CONST_H
2 #define _LINUX_CONST_H
3
4 #include <vdso/const.h>
5
6 /*
7  * This returns a constant expression while determining if an argument is
8  * a constant expression, most importantly without evaluating the argument.
9  * Glory to Martin Uecker <[email protected]>
10  */
11 #define __is_constexpr(x) \
12         (sizeof(int) == sizeof(*(8 ? ((void *)((long)(x) * 0l)) : (int *)8)))
13
14 #endif /* _LINUX_CONST_H */
This page took 0.038462 seconds and 4 git commands to generate.