diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-06-11 10:20:04 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-06-11 10:20:04 -0400 |
commit | 64c9ddfa2b52e145b8bb5e3f6dad63a1b4ea018b (patch) | |
tree | bb8abcce9e874a92ff7eaa04163be8962a8a9eec /libgps_core.c | |
parent | 2941f808be395819aefb9241b3889b441b73ea1b (diff) | |
download | gpsd-64c9ddfa2b52e145b8bb5e3f6dad63a1b4ea018b.tar.gz |
More code slimming.
Diffstat (limited to 'libgps_core.c')
-rw-r--r-- | libgps_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgps_core.c b/libgps_core.c index 91b613e5..1aa11e44 100644 --- a/libgps_core.c +++ b/libgps_core.c @@ -26,7 +26,7 @@ void gps_enable_debug(int level, FILE * fp) { libgps_debuglevel = level; debugfp = fp; -#ifdef CLIENTDEBUG_ENABLE +#if defined(CLIENTDEBUG_ENABLE) && defined(SOCKET_EXPORT_ENABLE) json_enable_debug(level - DEBUG_JSON, fp); #endif } |