libcdr_api.h
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2/*
3 * This file is part of the libcdr project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#ifndef __LIBCDR_API_H__
11#define __LIBCDR_API_H__
12
13#ifdef DLL_EXPORT
14#ifdef LIBCDR_BUILD
15#define CDRAPI __declspec(dllexport)
16#else
17#define CDRAPI __declspec(dllimport)
18#endif
19#else // !DLL_EXPORT
20#ifdef LIBCDR_VISIBILITY
21#define CDRAPI __attribute__((visibility("default")))
22#else
23#define CDRAPI
24#endif
25#endif
26
27#endif
28/* vim:set shiftwidth=2 softtabstop=2 expandtab: */

Generated for libcdr by doxygen 1.13.2