Always use configure to detect whether global symbols need underscores
64-bit Windows already used this check; make it universal, and use it in place of an ifdef on X86_WIN32, to handle non-Windows platforms that use the underscore, such as Darwin.
This commit is contained in:
@@ -473,7 +473,7 @@ END
|
||||
|
||||
#else
|
||||
|
||||
#if defined(X86_WIN32)
|
||||
#if defined(SYMBOL_UNDERSCORE)
|
||||
#define USCORE_SYMBOL(x) _##x
|
||||
#else
|
||||
#define USCORE_SYMBOL(x) x
|
||||
|
||||
Reference in New Issue
Block a user