Fix operator for Visual Studio
[m6w6/ext-http] / src / php_http_url.h
index afc04126c216eb6fc1650313ec7241c7bdb5da4b..eead59a88f82f495793d2566f27353e963afe4b5 100644 (file)
 /* percent encode multibyte sequences in userinfo, path, query and fragment */
 #define PHP_HTTP_URL_PARSE_TOPCT       0x200000
 
+#if PHP_HTTP_HAVE_IDNA2008
+#define PHP_HTTP_URL_PARSE_TOIDN_2008 \
+       (PHP_HTTP_URL_PARSE_TOIDN       |       0x400000)
+#endif
+#if PHP_HTTP_HAVE_IDNA2003
+#define PHP_HTTP_URL_PARSE_TOIDN_2003 \
+       (PHP_HTTP_URL_PARSE_TOIDN       |       0x800000)
+#endif
+
 /* ignore errors */
 #define PHP_HTTP_URL_IGNORE_ERRORS     0x10000000
 /* do not report errors */
@@ -53,7 +62,6 @@
 #define PHP_HTTP_URL_STDFLAGS          0x00332003
 
 typedef struct php_http_url {
-       /* compatible to php_url, but do not use php_url_free() */
        char *scheme;
        char *user;
        char *pass;