Make UEFI boot-platform build again
[haiku.git] / headers / private / system / computed_asm_macros.h
blob46595abfe2df56c2da28d66b35935620c55efb3c
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
9 #define DEFINE_COMPUTED_ASM_MACRO(macro, value) \
10 asm volatile("#define " #macro " %0" : : "i" (value))
13 #endif /* _SYSTEM_COMPUTED_ASM_MACROS_H */