mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
LIBSO=1 compile darknet.so library on Linux
This commit is contained in:
@ -11,9 +11,17 @@
|
||||
#endif // OPENCV
|
||||
|
||||
#ifdef YOLODLL_EXPORTS
|
||||
#if defined(_MSC_VER)
|
||||
#define YOLODLL_API __declspec(dllexport)
|
||||
#else
|
||||
#define YOLODLL_API __attribute__((visibility("default")))
|
||||
#endif
|
||||
#else
|
||||
#if defined(_MSC_VER)
|
||||
#define YOLODLL_API __declspec(dllimport)
|
||||
#else
|
||||
#define YOLODLL_API
|
||||
#endif
|
||||
#endif
|
||||
|
||||
struct bbox_t {
|
||||
|
Reference in New Issue
Block a user