xref: /haiku/headers/private/system/computed_asm_macros.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_COMPUTED_ASM_MACROS_H
6 #define _SYSTEM_COMPUTED_ASM_MACROS_H
7 
8 
9 #define DEFINE_COMPUTED_ASM_MACRO(macro, value) \
10 	asm volatile("#define " #macro " %0" : : "i" (value))
11 
12 
13 #endif	/* _SYSTEM_COMPUTED_ASM_MACROS_H */
14