From ec52e5e5a204862905b555cdc1f7393aede1f7d8 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sun, 24 Mar 2013 10:47:54 +0100 Subject: Consolidate XMLSEC_NO_SIZE_T setting in xmlsecurity/xmlsec-wrapper.h ...so all xmlsec/*.h includes are bundled there now (except, for pragmatic reasons, the xmlsec/mscrypto/*.h ones that unconditionally include windows.h and only work on Windows). Change-Id: I33e642f4f6a2e40edd6950af7f209c8b76c6e5fe --- xmlsecurity/inc/xmlsecurity/xmlsec-wrapper.h | 46 ++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 xmlsecurity/inc/xmlsecurity/xmlsec-wrapper.h (limited to 'xmlsecurity/inc') diff --git a/xmlsecurity/inc/xmlsecurity/xmlsec-wrapper.h b/xmlsecurity/inc/xmlsecurity/xmlsec-wrapper.h new file mode 100644 index 000000000000..3289ccdb7938 --- /dev/null +++ b/xmlsecurity/inc/xmlsecurity/xmlsec-wrapper.h @@ -0,0 +1,46 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ + +#ifndef INCLUDED_XMLSECURITY_XMLSEC_WRAPPER_H +#define INCLUDED_XMLSECURITY_XMLSEC_WRAPPER_H + +#include "sal/config.h" + +#include "sal/types.h" + +// Cf. xmlsec's configure.in: +#if SAL_TYPES_SIZEOFPOINTER != 4 +#define XMLSEC_NO_SIZE_T +#endif + +#include "xmlsec/base64.h" +#include "xmlsec/bn.h" +#include "xmlsec/crypto.h" +#include "xmlsec/errors.h" +#include "xmlsec/io.h" +#include "xmlsec/keysmngr.h" +#include "xmlsec/strings.h" +#include "xmlsec/xmldsig.h" +#include "xmlsec/xmlenc.h" +#include "xmlsec/xmlsec.h" +#include "xmlsec/xmltree.h" + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit