Skip to content

Commit

Permalink
Fix build under Xcode
Browse files Browse the repository at this point in the history
When building from Xcode, the link stage fails with an error on
duplicated symbols.
Adding extern to the symbol declaration in the header file fixes this
issue.
  • Loading branch information
mayeut committed Nov 6, 2016
1 parent 13c2922 commit 3f3f31c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/codec_supported.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
char **codecs;
extern char **codecs;

int codec_supported (int flags);

0 comments on commit 3f3f31c

Please sign in to comment.