• Main Page
  • Related Pages
  • Modules
  • Classes
  • Files
  • File List
  • File Members

GUIDOExport.h

Go to the documentation of this file.
00001 #ifndef __GUIDOExport__
00002 #define __GUIDOExport__
00003 
00004 /*
00005   GUIDO Library
00006   Copyright (C) 2002  Holger Hoos, Juergen Kilian, Kai Renz
00007   Copyright (C) 2003  Grame
00008 
00009   This Source Code Form is subject to the terms of the Mozilla Public
00010   License, v. 2.0. If a copy of the MPL was not distributed with this
00011   file, You can obtain one at http://mozilla.org/MPL/2.0/.
00012 
00013   Grame Research Laboratory, 11, cours de Verdun Gensoul 69002 Lyon - France
00014   research@grame.fr
00015 
00016 */
00017 
00018 
00019 #if __MINGW32__
00020 #  define class_export      class
00021 #  define GUIDOAPI(type)    type
00022 
00023 #elif defined(WIN32) && !defined(GCC)
00024 
00025 # ifdef GUIDOExport
00026 #  define class_export      class _declspec (dllexport)
00027 #  define GUIDOAPI(type)    _declspec (dllexport) type
00028 # else
00029 #  define class_export      class _declspec (dllimport)
00030 #  define GUIDOAPI(type)    _declspec (dllimport) type
00031 # endif
00032 
00033 #else
00034 
00035 # ifdef GUIDOExport
00036 #  define class_export      class __attribute__ ((visibility("default")))
00037 #  define GUIDOAPI(type)    __attribute__ ((visibility("default"))) type
00038 # else
00039 #  define class_export      class
00040 #  define GUIDOAPI(type)    type
00041 # endif
00042 
00043 #endif
00044 
00045 
00046 #endif

Generated on Mon Jan 5 2015 11:16:24 for GUIDOLib by doxygen 1.7.2 - © Grame Research Lab.