Project

General

Profile

Download (1.34 KB) Statistics
| Branch: | Tag: | Revision:
1
/*
2
 * Copyright (C) 2012 by Hoernchen <la@tfc-server.de>
3
 *
4
 * This program is free software: you can redistribute it and/or modify
5
 * it under the terms of the GNU General Public License as published by
6
 * the Free Software Foundation, either version 2 of the License, or
7
 * (at your option) any later version.
8
 *
9
 * This program is distributed in the hope that it will be useful,
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
 * GNU General Public License for more details.
13
 *
14
 * You should have received a copy of the GNU General Public License
15
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
 */
17

    
18
#ifndef __OSMOSDR_EXPORT_H
19
#define __OSMOSDR_EXPORT_H
20

    
21
#if defined __GNUC__
22
#  if __GNUC__ >= 4
23
#    define __SDR_EXPORT   __attribute__((visibility("default")))
24
#    define __SDR_IMPORT   __attribute__((visibility("default")))
25
#  else
26
#    define __SDR_EXPORT
27
#    define __SDR_IMPORT
28
#  endif
29
#elif _MSC_VER
30
#  define __SDR_EXPORT     __declspec(dllexport)
31
#  define __SDR_IMPORT     __declspec(dllimport)
32
#else
33
#  define __SDR_EXPORT
34
#  define __SDR_IMPORT
35
#endif
36

    
37
#ifndef osmosdr_STATIC
38
#	ifdef osmosdr_EXPORTS
39
#	define OSMOSDR_API __SDR_EXPORT
40
#	else
41
#	define OSMOSDR_API __SDR_IMPORT
42
#	endif
43
#else
44
#define OSMOSDR_API
45
#endif
46
#endif /* __OSMOSDR_EXPORT_H */
(4-4/4)
Add picture from clipboard (Maximum size: 48.8 MB)