Skip to content

Commit

Permalink
Exported symbols should not be C++ mangled
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre Lissy committed May 10, 2019
1 parent 0c56d11 commit 5e7ee43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native_client/deepspeech.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#if defined _MSC_VER
#define DEEPSPEECH_EXPORT extern "C" __declspec(dllexport)
#else /*End of _MSC_VER*/
#define DEEPSPEECH_EXPORT __attribute__ ((visibility("default")))
#define DEEPSPEECH_EXPORT extern "C" __attribute__ ((visibility("default")))
#endif /*End of SWIG*/
#else
#define DEEPSPEECH_EXPORT
Expand Down

0 comments on commit 5e7ee43

Please sign in to comment.