xref: /haiku/headers/private/system/symbol_versioning.h (revision 7749d0bb0c358a3279b1b9cc76d8376e900130a5)
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
7 
8 #include <BeBuild.h>
9 
10 
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
18 
19 
20 #endif	/* _SYSTEM_SYMBOL_VERSIONING_H */
21