Commit ec9c949c authored by Dick Hollenbeck's avatar Dick Hollenbeck

Windows name export tweak

parent 142782b4
...@@ -106,11 +106,14 @@ as such! As such, it is OK to use UTF8 characters: ...@@ -106,11 +106,14 @@ as such! As such, it is OK to use UTF8 characters:
#define KIFACE_VERSION 1 #define KIFACE_VERSION 1
#define KIFACE_GETTER KIFACE_1 #define KIFACE_GETTER KIFACE_1
// Adjust the spelling of this in a platform specific way if need be. The // The KIFACE acquistion function is declared extern "C" so its name should not
// KIFACE acquistion function is declared extern "C" so its name should not // be mangled (much). Windows has leading underscore for our C function.
// be mangled. Keep the trailing version number in sync with the KIFACE_GETTER // Keep the trailing version number in sync with the KIFACE_GETTER define above.
// define above. #if defined(__MINGW32__)
#define KIFACE_INSTANCE_NAME_AND_VERSION "KIFACE_1" #define KIFACE_INSTANCE_NAME_AND_VERSION "_KIFACE_1"
#else
#define KIFACE_INSTANCE_NAME_AND_VERSION "KIFACE_1"
#endif
#if defined(__linux__) #if defined(__linux__)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment