xref: /haiku/headers/private/system/symbol_versioning.h (revision cbe0a0c436162d78cc3f92a305b64918c839d079)
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