Skip to content

Commit 23a338b

Browse files
authored
Merge pull request #12 from openapv/dev-exportDefinitionHotfix
Fix export definition for OAPV_STATIC_DEFINE to avoid unnecessary exp…
2 parents 9d40137 + e50b603 commit 23a338b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

inc/oapv.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ extern "C"
3737
{
3838
#endif
3939

40+
#ifdef OAPV_STATIC_DEFINE
41+
#define OAPV_EXPORT
42+
#else
4043
#include <oapv/oapv_exports.h>
44+
#endif
4145

4246
/* size of macroblock */
4347
#define OAPV_LOG2_MB (4)

0 commit comments

Comments
 (0)