mirror of
https://github.com/opencv/opencv.git
synced 2026-07-28 23:03:03 +04:00
Java API: fix build warning on OS X
Common part of all source files is extracted to special header
This commit is contained in:
@@ -1,12 +1,4 @@
|
||||
#include "converters.h"
|
||||
|
||||
#if defined DEBUG && defined ANDROID
|
||||
#include <android/log.h>
|
||||
#define MODULE_LOG_TAG "OpenCV.converters"
|
||||
#define LOGD(...) ((void)__android_log_print(ANDROID_LOG_DEBUG, MODULE_LOG_TAG, __VA_ARGS__))
|
||||
#else //DEBUG
|
||||
#define LOGD(...)
|
||||
#endif //DEBUG
|
||||
#include "common.h"
|
||||
|
||||
using namespace cv;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user