mcloud
1.0.0
MCloud API library for cmcc cloud service
visibility.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2016 Canonical, Ltd.
3
*
4
* This library is free software; you can redistribute it and/or modify it under
5
* the terms of version 3 of the GNU Lesser General Public License as published
6
* by the Free Software Foundation.
7
*
8
* This library is distributed in the hope that it will be useful, but WITHOUT
9
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
10
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
11
* details.
12
*
13
* You should have received a copy of the GNU Lesser General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*
16
* Author: Gary Wang <gary.wang@canonical.com>
17
*/
18
19
#ifndef MCLOUD_API_VISIBILITY_H_
20
#define MCLOUD_API_VISIBILITY_H_
21
22
#if __GNUC__ >= 4
23
#define MCLOUD_API_DLL_PUBLIC __attribute__ ((visibility ("default")))
24
#define MCLOUD_API_DLL_LOCAL __attribute__ ((visibility ("hidden")))
25
#else
26
#define MCLOUD_API_DLL_PUBLIC
27
#define MCLOUD_API_DLL_LOCAL
28
#endif
29
30
#endif // MCLOUD_API_VISIBILITY_H_
include
mcloud
api
visibility.h
Generated on Tue Sep 27 2016 04:44:02 for mcloud by
1.8.11