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