37 lines
842 B
Plaintext
37 lines
842 B
Plaintext
From d0c7516dd97599fb59d8616e8adf94f19ec48de1 Mon Sep 17 00:00:00 2001
|
|
From: Miklos Vajna <vmiklos@collabora.com>
|
|
Date: Fri, 29 Mar 2019 13:47:12 +0100
|
|
Subject: [PATCH] base64: move start of C++ guard below includes
|
|
|
|
Resolves problems around building against newer ICU, see
|
|
<https://lists.freedesktop.org/archives/libreoffice/2019-March/082340.html>.
|
|
---
|
|
include/xmlsec/base64.h | 8 ++++----
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
--- include/xmlsec/base64.h
|
|
+++ include/xmlsec/base64.h
|
|
@@ -11,15 +11,15 @@
|
|
#ifndef __XMLSEC_BASE64_H__
|
|
#define __XMLSEC_BASE64_H__
|
|
|
|
-#ifdef __cplusplus
|
|
-extern "C" {
|
|
-#endif /* __cplusplus */
|
|
-
|
|
#include <libxml/tree.h>
|
|
|
|
#include <xmlsec/xmlsec.h>
|
|
#include <xmlsec/transforms.h>
|
|
|
|
+#ifdef __cplusplus
|
|
+extern "C" {
|
|
+#endif /* __cplusplus */
|
|
+
|
|
/**
|
|
* XMLSEC_BASE64_LINESIZE:
|
|
*
|
|
--
|
|
2.16.4
|
|
|