mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-04-03 07:15:42 -04:00
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:
parent
e1f2ba2b37
commit
d6d7dab487
1 changed files with 2 additions and 2 deletions
|
|
@ -42,8 +42,6 @@
|
||||||
#if HAVE_LIBXML
|
#if HAVE_LIBXML
|
||||||
#include <libxml/parser.h>
|
#include <libxml/parser.h>
|
||||||
|
|
||||||
#define PROGRAM_NAME "wayland-scanner"
|
|
||||||
|
|
||||||
/* Embedded wayland.dtd file, see dtddata.S */
|
/* Embedded wayland.dtd file, see dtddata.S */
|
||||||
extern char DTD_DATA_begin;
|
extern char DTD_DATA_begin;
|
||||||
extern int DTD_DATA_len;
|
extern int DTD_DATA_len;
|
||||||
|
|
@ -51,6 +49,8 @@ extern int DTD_DATA_len;
|
||||||
|
|
||||||
#include "wayland-util.h"
|
#include "wayland-util.h"
|
||||||
|
|
||||||
|
#define PROGRAM_NAME "wayland-scanner"
|
||||||
|
|
||||||
enum side {
|
enum side {
|
||||||
CLIENT,
|
CLIENT,
|
||||||
SERVER,
|
SERVER,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue