diff options
author | Jon Schlueter <jschlueter@navigationsolutions.com> | 2015-03-26 08:39:40 -0400 |
---|---|---|
committer | Jon Schlueter <jschlueter@navigationsolutions.com> | 2015-03-26 08:40:35 -0400 |
commit | 1a16a68be90fcd3a46b471b8249a4188a0802424 (patch) | |
tree | 27f9a8fd8133f167d96e321845b2f844c5fb0cc7 /test_json.c | |
parent | 3ab7ab376049ca840bb2d2cd0a1f6db3483903e0 (diff) | |
download | gpsd-1a16a68be90fcd3a46b471b8249a4188a0802424.tar.gz |
add CLIENTDEBUG_ENABLED ifdef guard on test_json.c
This allow scons test_json clientdebug=off to compile
Diffstat (limited to 'test_json.c')
-rw-r--r-- | test_json.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test_json.c b/test_json.c index 1729c25d..0891df9d 100644 --- a/test_json.c +++ b/test_json.c @@ -409,9 +409,11 @@ int main(int argc UNUSED, char *argv[]UNUSED) while ((option = getopt(argc, argv, "hn:D:?")) != -1) { switch (option) { +#ifdef CLIENTDEBUG_ENABLE case 'D': gps_enable_debug(atoi(optarg), stdout); break; +#endif case 'n': individual = atoi(optarg); break; |