scanner: Move PROGRAM_NAME define
authorYong Bakos <ybakos@humanoriented.com>
Tue, 7 Jun 2016 15:19:39 +0000 (10:19 -0500)
committerDerek Foreman <derekf@osg.samsung.com>
Tue, 7 Jun 2016 15:22:59 +0000 (10:22 -0500)
commitd6d7dab487a8acd02c1fae45eea78954411c51b8
tree25357b2937992b3f7bfc31a6a4d723b8939038a3
parente1f2ba2b37e79220baec4c1c229228734a344595
scanner: Move PROGRAM_NAME define

PROGRAM_NAME was defined within the if block of HAVE_LIBXML, causing a
compilation failure when libxml is not present.

Move the define of PROGRAM_NAME out of the if block.

Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
src/scanner.c