summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFelix Herrmann <fherrmann@de.adit-jv.com>2019-12-10 16:29:45 +0100
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2020-07-06 10:04:07 +0900
commitf4325524cb5acdddbe26d32fab49aeed1d7f0b23 (patch)
treebfa46c9306a535472bdfb78f1c93007b896a860e /include
parent048c3d9fdfdb1a7e5ed45cc0d55b9f9389fdb6bb (diff)
downloadDLT-daemon-f4325524cb5acdddbe26d32fab49aeed1d7f0b23.tar.gz
Android: Enable Android build
Signed-off-by: Felix Herrmann <fherrmann@de.adit-jv.com> Signed-off-by: KHANH LUONG HONG DUY <khanh.luonghongduy@vn.bosch.com>
Diffstat (limited to 'include')
-rw-r--r--include/dlt/dlt_user.h7
1 files changed, 6 insertions, 1 deletions
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 <mqueue.h>
+#endif
+
# include <pthread.h>
# 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