summaryrefslogtreecommitdiff
path: root/other/astyle
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2016-09-22 00:42:14 +0100
committeriphydf <iphydf@users.noreply.github.com>2016-09-25 01:58:51 +0100
commitd369448ace7ab9b77b6f0e644fdb42ff8dc9a31d (patch)
tree7b0435adf621698cb8698c464b7140776cf6b739 /other/astyle
parentf60900c4b813abbce213db6de217837645c6590e (diff)
Work around bug in opencv3 headers.
OpenCV 3.1 doesn't define cvRound in C, only in C++. Thus, we now need to compile av_test as C++ code.
Diffstat (limited to 'other/astyle')
-rwxr-xr-xother/astyle/format-source4
1 files changed, 2 insertions, 2 deletions
diff --git a/other/astyle/format-source b/other/astyle/format-source
index 157f0fec..47a4a420 100755
--- a/other/astyle/format-source
+++ b/other/astyle/format-source
@@ -20,8 +20,8 @@ if ! which "$ASTYLE"; then
20 exit 1 20 exit 1
21fi 21fi
22 22
23if [ -f ../apidsl/_build/apigen.native ]; then 23if [ -f ../apidsl/apigen.native ]; then
24 APIDSL=../apidsl/_build/apigen.native 24 APIDSL=../apidsl/apigen.native
25else 25else
26 APIDSL=apidsl_curl 26 APIDSL=apidsl_curl
27fi 27fi