arch/sim: Simplify SYMBOL macro definition
Change-Id: I1772b65b9bbe29917885e432056f84921b562eb0 Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
e772be8c8a
commit
fbc68912b9
2 changed files with 2 additions and 7 deletions
|
|
@ -45,13 +45,11 @@
|
|||
|
||||
#ifdef __CYGWIN__
|
||||
# define SYMBOL(s) _##s
|
||||
#else
|
||||
#ifdef __ELF__
|
||||
#elif defined(__ELF__)
|
||||
# define SYMBOL(s) s
|
||||
#else
|
||||
# define SYMBOL(s) _##s
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**************************************************************************
|
||||
* Public Functions
|
||||
|
|
|
|||
|
|
@ -78,15 +78,12 @@
|
|||
#endif
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
//# define SYMBOL(s) _##s
|
||||
# define SYMBOL(s) s
|
||||
#else
|
||||
#ifdef __ELF__
|
||||
#elif defined(__ELF__)
|
||||
# define SYMBOL(s) s
|
||||
#else
|
||||
# define SYMBOL(s) _##s
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**************************************************************************
|
||||
* Public Functions
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue