00001 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 00002 /* 00003 * This file is part of the LibreOffice project. 00004 * 00005 * This Source Code Form is subject to the terms of the Mozilla Public 00006 * License, v. 2.0. If a copy of the MPL was not distributed with this 00007 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 00008 * 00009 * This file incorporates work covered by the following license notice: 00010 * 00011 * Licensed to the Apache Software Foundation (ASF) under one or more 00012 * contributor license agreements. See the NOTICE file distributed 00013 * with this work for additional information regarding copyright 00014 * ownership. The ASF licenses this file to you under the Apache 00015 * License, Version 2.0 (the "License"); you may not use this file 00016 * except in compliance with the License. You may obtain a copy of 00017 * the License at http://www.apache.org/licenses/LICENSE-2.0 . 00018 */ 00019 #ifndef _CPPU_MACROS_HXX_ 00020 #define _CPPU_MACROS_HXX_ 00021 00022 #include <sal/types.h> 00023 #include <uno/lbnames.h> 00024 00026 #define CPPU_CURRENT_NAMESPACE CPPU_ENV 00027 00029 00039 #if defined(__GNUC__) 00040 #define CPPU_GCC3_ALIGN( base_struct ) __attribute__ ((aligned (__alignof__ (base_struct)))) 00041 #else 00042 #define CPPU_GCC3_ALIGN( base_struct ) 00043 #endif 00044 00051 #define CPPU_GCC_DLLPUBLIC_EXPORT SAL_EXCEPTION_DLLPUBLIC_EXPORT 00052 #define CPPU_GCC_DLLPRIVATE SAL_EXCEPTION_DLLPRIVATE 00053 00055 00056 #endif // _CPPU_MACROS_HXX_ 00057 00058 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */