* 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 2012-02-29 14:48:58 +01:00
parent 70115b995d
commit 5982495738
3 changed files with 12 additions and 2 deletions

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