diff options
author | Saya Sugiura <ssugiura@jp.adit-jv.com> | 2021-07-28 10:39:38 +0900 |
---|---|---|
committer | Saya Sugiura <39760799+ssugiura@users.noreply.github.com> | 2021-10-05 11:19:26 +0900 |
commit | 403246bfbb6eba2569f160ec46d446fc3de5b79d (patch) | |
tree | c16caaaf25ab0b81555a755b587677098b8698e3 /src/adaptor | |
parent | 9887f590edf9f49421d871d4499cdee55ba7bbd3 (diff) | |
download | DLT-daemon-403246bfbb6eba2569f160ec46d446fc3de5b79d.tar.gz |
header: Adapt to DLT_DISABLE_MACRO
If dlt.h is included in external application, it needed to include
-DDLT_DISABLE_MACRO to make ifdef switch work. This commit adds
DLT_DISABLE_MACRO in dlt_user.h so that no additional definition is
needed in application.
Signed-off-by: Saya Sugiura <ssugiura@jp.adit-jv.com>
Diffstat (limited to 'src/adaptor')
-rw-r--r-- | src/adaptor/dlt-adaptor-stdin.c | 1 | ||||
-rw-r--r-- | src/adaptor/dlt-adaptor-udp.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/adaptor/dlt-adaptor-stdin.c b/src/adaptor/dlt-adaptor-stdin.c index 304aca0..1df415c 100644 --- a/src/adaptor/dlt-adaptor-stdin.c +++ b/src/adaptor/dlt-adaptor-stdin.c @@ -69,6 +69,7 @@ #include "dlt_common.h" #include "dlt_user.h" +#include "dlt_user_macros.h" #define MAXSTRLEN 1024 diff --git a/src/adaptor/dlt-adaptor-udp.c b/src/adaptor/dlt-adaptor-udp.c index cd62d49..b2033de 100644 --- a/src/adaptor/dlt-adaptor-udp.c +++ b/src/adaptor/dlt-adaptor-udp.c @@ -75,6 +75,8 @@ #include "dlt_common.h" #include "dlt_user.h" +#include "dlt_user_macros.h" + /* Port number, to which the syslogd-ng sends its log messages */ #define RCVPORT 47111 |