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>
This commit is contained in:
Yong Bakos 2016-06-07 10:19:39 -05:00 committed by Bryce Harrington
parent e306aa5088
commit c51b60b129

View file

@ -49,6 +49,8 @@ extern int DTD_DATA_len;
#include "wayland-util.h"
#define PROGRAM_NAME "wayland-scanner"
enum side {
CLIENT,
SERVER,