diff options
author | Mark Salyzyn <salyzyn@google.com> | 2016-10-10 21:16:45 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-10-10 21:16:45 +0000 |
commit | 6f5dc6b03d036695e57f51bdd244a877b80ef90a (patch) | |
tree | 697716e5257c46ca1bf30432cb6abe289910e9c6 | |
parent | ea59036ec810b76688650f2a14178d4ffe4a129c (diff) | |
parent | 35dcc67558b63d08c47cd4bb3f989d7a9b77b884 (diff) | |
download | opencv-6f5dc6b03d036695e57f51bdd244a877b80ef90a.tar.gz |
Merge "define LOG_TAG before including android/log.h"
am: 35dcc67558
Change-Id: Iefdfd1ea0703742ea37d27783c698bc154d30216
-rw-r--r-- | otherlibs/highgui/cvcap_socket.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/otherlibs/highgui/cvcap_socket.cpp b/otherlibs/highgui/cvcap_socket.cpp index 6e2f01e..96e4f0d 100644 --- a/otherlibs/highgui/cvcap_socket.cpp +++ b/otherlibs/highgui/cvcap_socket.cpp @@ -47,15 +47,15 @@ // capture video from a socket connection // +#define LOG_TAG "CVJNI" +#define LOGV(...) __android_log_print(ANDROID_LOG_SILENT, LOG_TAG, __VA_ARGS__) + #include "_highgui.h" #include <android/log.h> #include <errno.h> #include <netdb.h> #include <unistd.h> -#define LOGV(...) __android_log_print(ANDROID_LOG_SILENT, LOG_TAG, __VA_ARGS__) -#define LOG_TAG "CVJNI" - #ifdef NDEBUG #define CV_WARN(message) #else |