summaryrefslogtreecommitdiff
path: root/utils/idna.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-10-03 00:28:08 +0100
committerVincent Sanders <vince@kyllikki.org>2019-10-03 00:28:08 +0100
commitd2391b2dfdf3b9f43616a9822f82e39376639a86 (patch)
treedff17488251ef1f0dd8978112a2e57f718749ce1 /utils/idna.h
parent79e406d951a7971853896492f90955ddf380c8ab (diff)
downloadnetsurf-d2391b2dfdf3b9f43616a9822f82e39376639a86.tar.gz
netsurf-d2391b2dfdf3b9f43616a9822f82e39376639a86.tar.bz2
make the use of libutf8proc coditional
allow the browser to be compiled without libutf8proc. Without this library safe utf8 conversion and verification is not possible so the browser will loose the ability to navigate to adresses using the idna punycode scheme.
Diffstat (limited to 'utils/idna.h')
-rw-r--r--utils/idna.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/utils/idna.h b/utils/idna.h
index 1fb344730..efc73eb72 100644
--- a/utils/idna.h
+++ b/utils/idna.h
@@ -16,12 +16,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-/** \file
- * NetSurf international domain name handling (interface).
+/**
+ * \file
+ * interface to international domain name handling.
*/
-#ifndef _NETSURF_UTILS_IDNA_H_
-#define _NETSURF_UTILS_IDNA_H_
+#ifndef NETSURF_UTILS_IDNA_H_
+#define NETSURF_UTILS_IDNA_H_
/**
* Unicode canonical combining class for virama