#endif\r
\r
//\r
-// For symbol name in GNU assembly code, an extra "_" is necessary\r
+// Macros for GNU assembly code\r
//\r
#if defined(__GNUC__)\r
#if defined(linux)\r
#else\r
#define ASM_PFX(name) _##name\r
#endif \r
- #if defined(__APPLE__)\r
- #define ASM_GLOBAL .globl\r
- #else\r
- #define ASM_GLOBAL .global\r
- #endif \r
+ ///\r
+ /// For GNU assembly code, .global or .globl can declare global symbols.\r
+ /// Define this macro to unify the usage.\r
+ ///\r
+ #define ASM_GLOBAL .globl\r
#endif\r
\r
/**\r