diff options
Diffstat (limited to 'src/server/util.hpp')
-rw-r--r-- | src/server/util.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/server/util.hpp b/src/server/util.hpp index 249b7a1e..d615a6df 100644 --- a/src/server/util.hpp +++ b/src/server/util.hpp @@ -30,6 +30,12 @@ #include <xmmintrin.h> #endif +#ifdef __clang__ +# define REALTIME __attribute__((annotate("realtime"))) +#else +# define REALTIME +#endif + #ifdef USE_ASSEMBLY # if SIZEOF_VOID_P==8 # define cpuid(a, b, c, d, n) asm("xchgq %%rbx, %1; cpuid; xchgq %%rbx, %1": "=a" (a), "=r" (b), "=c" (c), "=d" (d) : "a" (n)); |