git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12457 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Mathieu Rene 2009-03-05 06:38:52 +00:00
parent e1a780fba6
commit b313224f4b
2 changed files with 6 additions and 6 deletions

View File

@ -78,7 +78,7 @@ struct switch_xml_config_item {
#define SWITCH_CONFIG_ITEM(_key, _type, _reloadable, _ptr, _defaultvalue, _data) { _key, _type, _reloadable, _ptr, _defaultvalue, _data, NULL, NULL }
#define SWITCH_CONFIG_ITEM_CALLBACK (_key, _type, _reloadable, _ptr, _defaultvalue, _data, _functiondata) { _key, _type, _reloadable, _ptr, _defaultvalue, _data, _functiondata }
#define SWITCH_ITEM_CALLBACK(_key, _type, _reloadable, _ptr, _defaultvalue, _data, _functiondata) { _key, _type, _reloadable, _ptr, _defaultvalue, _data, _functiondata }
#define SWITCH_CONFIG_ITEM_END() { NULL, SWITCH_CONFIG_LAST, 0, NULL ,NULL, NULL, NULL }
/*!

View File

@ -30,7 +30,7 @@
*
*/
//#define SWITCH_XML_CONFIG_TEST
#define SWITCH_XML_CONFIG_TEST
#include <switch.h>
@ -211,7 +211,7 @@ SWITCH_DECLARE(switch_status_t) switch_xml_config_parse(switch_xml_t xml, int re
}
#if SWITCH_XML_CONFIG_TEST
#ifdef SWITCH_XML_CONFIG_TEST
typedef enum {
MYENUM_TEST1 = 1,
MYENUM_TEST2 = 2,