* include/grub/symbol.h (EXT_C) [!ASM_FILE]: Redefine with strings.

* grub-core/lib/i386/backtrace.c (grub_backtrace): Use EXT_C.
This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2012-02-29 14:48:58 +01:00
1 parent 70115b995d
commit 5982495738
3 files changed
+12 -2

No files matched your search

+5
View File
@@ -26,9 +26,14 @@
/* Add an underscore to a C symbol in assembler code if needed. */
#ifndef GRUB_UTIL
#if HAVE_ASM_USCORE
#ifdef ASM_FILE
# define EXT_C(sym) _ ## sym
#else
# define EXT_C(sym) "_" sym
#endif
#else
# define EXT_C(sym) sym
#endif