common: Always use expat implementation for parser.
This commit is contained in:
parent
fdd22b6949
commit
b4fb20eafe
1 changed files with 0 additions and 11 deletions
|
|
@ -26,15 +26,6 @@
|
||||||
|
|
||||||
#include "droid/droid-config.h"
|
#include "droid/droid-config.h"
|
||||||
|
|
||||||
#ifndef HAVE_EXPAT
|
|
||||||
#include <unistd.h>
|
|
||||||
pa_droid_config_audio *pa_parse_droid_audio_config_xml(const char *filename) {
|
|
||||||
if (access(filename, F_OK) == 0)
|
|
||||||
pa_log_warn("Could not parse %s, xml configuration parsing support not compiled in", filename);
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
#else
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <expat.h>
|
#include <expat.h>
|
||||||
|
|
@ -1152,5 +1143,3 @@ done:
|
||||||
|
|
||||||
return config;
|
return config;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue