summaryrefslogtreecommitdiff
path: root/gpxlogger.c
diff options
context:
space:
mode:
authorRobert Norris <rw_norris@hotmail.com>2017-03-05 18:43:33 +0000
committerFred Wright <fw@fwright.net>2017-03-05 13:43:14 -0800
commit9f870a11218d0bc6364d6b333fd878106746adf9 (patch)
tree2e69141ae377dcb27c09fa7771b61fd30272fc43 /gpxlogger.c
parenta32c93f5c70af935e4ff02e19959da65f078d166 (diff)
downloadgpsd-9f870a11218d0bc6364d6b333fd878106746adf9.tar.gz
OS syslog compatibility fallback.
Mainly for Windows systems which doesn't have syslog(). Implement simple fallback to print to stderr, rather than a more complicated use of Windows Event Log. Also basic fallbacks for openlog() and closelog() which don't really do anything. TESTED: Functions build on Windows cross build 'scons build-all check' passes on Linux Signed-off-by: Fred Wright <fw@fwright.net>
Diffstat (limited to 'gpxlogger.c')
-rw-r--r--gpxlogger.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gpxlogger.c b/gpxlogger.c
index d93d527b..141b7486 100644
--- a/gpxlogger.c
+++ b/gpxlogger.c
@@ -7,7 +7,6 @@
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
-#include <syslog.h>
#include <math.h>
#include <time.h>
#include <errno.h>