Merge pull request #52 from tgtakaoka/macos-dylib-name
Fix MSP Debug Stack dynamic library name on macOS
This commit is contained in:
commit
061c7ac7da
|
@ -28,6 +28,9 @@ const struct tilib_api_table *tilib_api;
|
||||||
#if defined(__Windows__) || defined(__CYGWIN__)
|
#if defined(__Windows__) || defined(__CYGWIN__)
|
||||||
static const char tilib_filename[] = "MSP430.DLL";
|
static const char tilib_filename[] = "MSP430.DLL";
|
||||||
#define TIDLL __stdcall
|
#define TIDLL __stdcall
|
||||||
|
#elif defined(__APPLE__)
|
||||||
|
static const char tilib_filename[] = "libmsp430.dylib";
|
||||||
|
#define TIDLL
|
||||||
#else
|
#else
|
||||||
static const char tilib_filename[] = "libmsp430.so";
|
static const char tilib_filename[] = "libmsp430.so";
|
||||||
#define TIDLL
|
#define TIDLL
|
||||||
|
|
Loading…
Reference in New Issue