diff options
author | DoctorNoobingstoneIPresume <47064117+DoctorNoobingstoneIPresume@users.noreply.github.com> | 2021-11-15 07:51:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-15 14:51:54 +0900 |
commit | aa1364fbdf8700a2c3d2176180f92fb9a4b44251 (patch) | |
tree | f5a31839cd90d05b1c3f54c1099ff0f3be1539f7 /src/daemon/dlt-daemon.c | |
parent | 68fb45019d04b637d5a51fbda411599ccf779dad (diff) | |
download | DLT-daemon-aa1364fbdf8700a2c3d2176180f92fb9a4b44251.tar.gz |
Support for Cygwin toolchain. (#351)
Also tested with the latest version running on Windows XP (gcc-5.4.0)
(http://www.crouchingtigerhiddenfruitbat.org/cygwin/timemachine.html).
Signed-off-by: Adder <adder_2003@yahoo.com>
Diffstat (limited to 'src/daemon/dlt-daemon.c')
-rw-r--r-- | src/daemon/dlt-daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/dlt-daemon.c b/src/daemon/dlt-daemon.c index 9678247..74f4049 100644 --- a/src/daemon/dlt-daemon.c +++ b/src/daemon/dlt-daemon.c @@ -1405,13 +1405,13 @@ static int dlt_daemon_init_fifo(DltDaemonLocal *daemon_local) if (fcntl(fd, F_SETPIPE_SZ, daemon_local->daemonFifoSize) == -1) dlt_vlog(LOG_ERR, "set FIFO size error: %s\n", strerror(errno)); } -#endif /* Get Daemon FIFO size */ if ((fifo_size = fcntl(fd, F_GETPIPE_SZ, 0)) == -1) dlt_vlog(LOG_ERR, "get FIFO size error: %s\n", strerror(errno)); else dlt_vlog(LOG_INFO, "FIFO size: %d\n", fifo_size); +#endif /* Early init, to be able to catch client (app) connections * as soon as possible. This registration is automatically ignored |