From f4325524cb5acdddbe26d32fab49aeed1d7f0b23 Mon Sep 17 00:00:00 2001 From: Felix Herrmann Date: Tue, 10 Dec 2019 16:29:45 +0100 Subject: Android: Enable Android build Signed-off-by: Felix Herrmann Signed-off-by: KHANH LUONG HONG DUY --- include/dlt/dlt_user.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/dlt/dlt_user.h b/include/dlt/dlt_user.h index 0533346..97aa911 100644 --- a/include/dlt/dlt_user.h +++ b/include/dlt/dlt_user.h @@ -73,7 +73,11 @@ * \addtogroup userapi \{ */ + +#ifndef __ANDROID_API__ # include +#endif + # include # if !defined (__WIN32__) @@ -193,10 +197,11 @@ typedef struct char appID[DLT_ID_SIZE]; /**< Application ID */ int dlt_log_handle; /**< Handle to fifo of dlt daemon */ int dlt_user_handle; /**< Handle to own fifo */ +#ifndef __ANDROID_API__ mqd_t dlt_segmented_queue_read_handle; /**< Handle message queue */ mqd_t dlt_segmented_queue_write_handle; /**< Handle message queue */ pthread_t dlt_segmented_nwt_handle; /**< thread handle of segmented sending */ - +#endif int8_t dlt_is_file; /**< Target of logging: 1 to file, 0 to daemon */ dlt_ll_ts_type *dlt_ll_ts; /** [MAX_DLT_LL_TS_ENTRIES]; < Internal management struct for all -- cgit v1.2.1