diff options
author | Robert Norris <rw_norris@hotmail.com> | 2017-03-05 18:43:33 +0000 |
---|---|---|
committer | Fred Wright <fw@fwright.net> | 2017-03-05 13:43:14 -0800 |
commit | 9f870a11218d0bc6364d6b333fd878106746adf9 (patch) | |
tree | 2e69141ae377dcb27c09fa7771b61fd30272fc43 /SConstruct | |
parent | a32c93f5c70af935e4ff02e19959da65f078d166 (diff) | |
download | gpsd-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 'SConstruct')
-rw-r--r-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -761,7 +761,7 @@ else: announce("You do not have the endian.h header file. RTCM V2 support disabled.") env["rtcm104v2"] = False - for hdr in ("sys/un", "sys/socket", "sys/select", "netdb", "netinet/in", "netinet/ip", "arpa/inet", "termios", "winsock2"): + for hdr in ("sys/un", "sys/socket", "sys/select", "netdb", "netinet/in", "netinet/ip", "arpa/inet", "syslog", "termios", "winsock2"): if config.CheckHeader(hdr + ".h"): confdefs.append("#define HAVE_%s_H 1\n" % hdr.replace("/","_").upper()) else: |