Skip to content

Commit 1a222b1

Browse files
committed
added conditional compiliation 'OAPV_STATIC_DEFINE'
1 parent 723b873 commit 1a222b1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

inc/oapv.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,12 @@
3636
extern "C" {
3737
#endif
3838

39+
#ifdef OAPV_STATIC_DEFINE
40+
#define OAPV_EXPORT
41+
#else
3942
#include <oapv/oapv_exports.h>
43+
#endif
44+
4045

4146
/* size of macroblock */
4247
#define OAPV_LOG2_MB (4)

0 commit comments

Comments
 (0)