diff options
author | Andre Heinecke <aheinecke@intevation.de> | 2011-03-07 11:43:23 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-03-07 13:50:38 +0000 |
commit | e0fc90bdf2c60a4c77fffaf490d6f06b2bd6999d (patch) | |
tree | 3fe6f065398d1fcb55243e81ae96acbfc69d1669 /bus/config-parser.c | |
parent | f1ba52066cadb90edb192ea93d55ba775bdb73d7 (diff) | |
download | dbus-e0fc90bdf2c60a4c77fffaf490d6f06b2bd6999d.tar.gz |
Do not use the name ELEMENT_TYPE
On Windows Systems ELEMENT_TYPE is already defined
in Winioctl.h this header is included indirectly
in dbus-sysdeps.h. By avoiding the use of the Name
ELEMENT_TYPE it is ensured that config-parser-common.h
can be included together with dbus-sysdeps.h
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'bus/config-parser.c')
-rw-r--r-- | bus/config-parser.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bus/config-parser.c b/bus/config-parser.c index 9808d732..2543162f 100644 --- a/bus/config-parser.c +++ b/bus/config-parser.c @@ -690,12 +690,12 @@ start_busconfig_child (BusConfigParser *parser, return TRUE; } - else if (element_type == ELEMENT_TYPE) + else if (element_type == ELEMENT_CONFIGTYPE) { if (!check_no_attributes (parser, "type", attribute_names, attribute_values, error)) return FALSE; - if (push_element (parser, ELEMENT_TYPE) == NULL) + if (push_element (parser, ELEMENT_CONFIGTYPE) == NULL) { BUS_SET_OOM (error); return FALSE; @@ -2002,7 +2002,7 @@ bus_config_parser_end_element (BusConfigParser *parser, case ELEMENT_INCLUDE: case ELEMENT_USER: - case ELEMENT_TYPE: + case ELEMENT_CONFIGTYPE: case ELEMENT_LISTEN: case ELEMENT_PIDFILE: case ELEMENT_AUTH: @@ -2472,7 +2472,7 @@ bus_config_parser_content (BusConfigParser *parser, } break; - case ELEMENT_TYPE: + case ELEMENT_CONFIGTYPE: { char *s; |