Check if the compiler prefixes an underscore to global symbols. This is useful when linking to compiled assembly code, or other code that does not have its C symbol mangling handled transparently by the compiler. C symbol mangling is platform and architecture dependent, and a helper function is needed to detect it. Eg: Windows 32-bit prefixes underscore, but 64-bit does not. Linux does not prefix an underscore but OS X does.pull/1184/head
parent
e128d26b35
commit
09f65b7a3c
2 changed files with 42 additions and 0 deletions
Loading…
Reference in new issue