mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-24 00:34:44 +01:00
Fixed module extension on OSX
This commit is contained in:
parent
89599d0bf8
commit
bdce551a50
@ -14,13 +14,17 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
#define MOD_EXPORT extern "C" __declspec(dllexport)
|
#define MOD_EXPORT extern "C" __declspec(dllexport)
|
||||||
#define SDRPP_MOD_EXTENTSION ".dll"
|
#define SDRPP_MOD_EXTENTSION ".dll"
|
||||||
#else
|
#else
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
#define MOD_EXPORT extern "C"
|
#define MOD_EXPORT extern "C"
|
||||||
#define SDRPP_MOD_EXTENTSION ".so"
|
#ifdef __APPLE__
|
||||||
|
#define SDRPP_MOD_EXTENTSION ".dylib"
|
||||||
|
#else
|
||||||
|
#define SDRPP_MOD_EXTENTSION ".so"
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
class ModuleManager {
|
class ModuleManager {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user