GUIDOLib  1.7.7
A Music Score Rendering Engine
GUIDOExport.h
Go to the documentation of this file.
1 
2 /*
3  GUIDO Library
4  Copyright (C) 2002 Holger Hoos, Juergen Kilian, Kai Renz
5  Copyright (C) 2003 Grame
6 
7  This Source Code Form is subject to the terms of the Mozilla Public
8  License, v. 2.0. If a copy of the MPL was not distributed with this
9  file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 
11  Grame Research Laboratory, 11, cours de Verdun Gensoul 69002 Lyon - France
12  research@grame.fr
13 
14 */
15 
16 #pragma once
17 
18 #if __MINGW32__
19 # define class_export class
20 # define GUIDOAPI
21 
22 #elif defined(WIN32) && !defined(GCC)
23 
24 # ifdef GUIDOExport
25 # define class_export class _declspec (dllexport)
26 # define GUIDOAPI _declspec (dllexport)
27 # else
28 # define class_export class _declspec (dllimport)
29 # define GUIDOAPI _declspec (dllimport)
30 # endif
31 
32 #else
33 
34 # ifdef GUIDOExport
35 # define class_export class __attribute__ ((visibility("default")))
36 # define GUIDOAPI __attribute__ ((visibility("default")))
37 # else
38 # define class_export class
39 # define GUIDOAPI
40 # endif
41 
42 #endif
43 

Guido Project Copyright © 2019 Grame-CNCM