History

Don't include the headers for dynamically loading the VP library if NO_DYNAMIC_VP is defined

bundleloader.h, which is included if MACOS is defined, defines inline functions that reference bundle loading system functions, which requires linking to the core foundation framework. Avoid requiring linking to extra libraries/frameworks if NO_DYNAMIC_VP is defined.

Martin Storsjö committed 12 years ago

Commit 36f96cb1 parent efaa1531 file · +2 −0Browse files

Showing the changes to codec/encoder/core/src/wels_preprocess.cpp (1 of 1 file). Show all

Unified · Split

codec/encoder/core/src/wels_preprocess.cpp+2−0
@@ -30,6 +30,7 @@ · 29 unmodified lines
30 *30 *
31 */31 */
32 32
33#ifndef NO_DYNAMIC_VP
33#if defined(_WIN32)34#if defined(_WIN32)
34#include <windows.h>35#include <windows.h>
35#elif defined(MACOS)36#elif defined(MACOS)
@@ -37,6 +38,7 @@ · 1 unmodified line
37#elif defined(__GNUC__)38#elif defined(__GNUC__)
38#include <dlfcn.h>39#include <dlfcn.h>
39#endif40#endif
41#endif
40 42
41#include <stdio.h>43#include <stdio.h>
42#include <stdlib.h>44#include <stdlib.h>

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t