aboutsummaryrefslogtreecommitdiff
path: root/include/apos/builtin.h
blob: b6ce0e05982d68b5f811e497332954b3a8f769a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef APOS_BUILTIN_H
#define APOS_BUILTIN_H

/**
 * @file builtin.h
 * Defines __has_builtin, if the compiler doesn't support it.
 *
 * Technically we only support clang and gcc at the moment, and they both
 * support __has_builtin, but if some interesting compiler comes along then
 * we'll be golden.
 */

#ifndef __has_builtin
#define __has_builtin(x) (0)
#endif

#endif /* APOS_BUILTIN_H */