summaryrefslogtreecommitdiff
path: root/chromium/third_party/libxml/src/uri.c
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/libxml/src/uri.c')
-rw-r--r--chromium/third_party/libxml/src/uri.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/chromium/third_party/libxml/src/uri.c b/chromium/third_party/libxml/src/uri.c
index ccc26aa5942..e5c790ebd91 100644
--- a/chromium/third_party/libxml/src/uri.c
+++ b/chromium/third_party/libxml/src/uri.c
@@ -2383,7 +2383,7 @@ xmlCanonicPath(const xmlChar *path)
* For Windows implementations, additional work needs to be done to
* replace backslashes in pathnames with "forward slashes"
*/
-#if defined(_WIN32) && !defined(__CYGWIN__)
+#if defined(_WIN32)
int len = 0;
char *p = NULL;
#endif
@@ -2455,7 +2455,7 @@ xmlCanonicPath(const xmlChar *path)
path_processing:
/* For Windows implementations, replace backslashes with 'forward slashes' */
-#if defined(_WIN32) && !defined(__CYGWIN__)
+#if defined(_WIN32)
/*
* Create a URI structure
*/
@@ -2534,7 +2534,7 @@ xmlPathToURI(const xmlChar *path)
cal = xmlCanonicPath(path);
if (cal == NULL)
return(NULL);
-#if defined(_WIN32) && !defined(__CYGWIN__)
+#if defined(_WIN32)
/* xmlCanonicPath can return an URI on Windows (is that the intended behaviour?)
If 'cal' is a valid URI already then we are done here, as continuing would make
it invalid. */
@@ -2558,5 +2558,3 @@ xmlPathToURI(const xmlChar *path)
xmlFree(cal);
return(ret);
}
-#define bottom_uri
-#include "elfgcchack.h"