btrfs: [] on the end of a struct field is a variable length array.
[haiku.git] / headers / private / system / symbol_versioning.h
blob95b55ec7e57155b565166caf02f3b6e1950bba11
1 /*
2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _SYSTEM_SYMBOL_VERSIONING_H
6 #define _SYSTEM_SYMBOL_VERSIONING_H
8 #include <BeBuild.h>
11 #ifdef _KERNEL_MODE
12 # define DEFINE_LIBROOT_KERNEL_SYMBOL_VERSION(function, symbol, version) \
13 B_DEFINE_SYMBOL_VERSION(function, symbol "KERNEL_" version)
14 #else
15 # define DEFINE_LIBROOT_KERNEL_SYMBOL_VERSION(function, symbol, version) \
16 B_DEFINE_SYMBOL_VERSION(function, symbol "LIBROOT_" version)
17 #endif
20 #endif /* _SYSTEM_SYMBOL_VERSIONING_H */