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

defines.h

Go to the documentation of this file.
00001 /*
00002  * MusicBrainz -- The Internet music metadatabase
00003  *
00004  * Copyright (C) 2006 Lukas Lalinsky
00005  *  
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Lesser General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2.1 of the License, or (at your option) any later version.
00010  * 
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Lesser General Public License for more details.
00015  * 
00016  * You should have received a copy of the GNU Lesser General Public
00017  * License along with this library; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00019  *
00020  * $Id: defines.h 8466 2006-09-05 08:59:44Z luks $
00021  */
00022  
00023 #ifndef __MUSICBRAINZ3_DEFINES_H__
00024 #define __MUSICBRAINZ3_DEFINES_H__
00025 
00026 #ifdef _MSC_VER
00027 #       pragma warning (disable : 4251) 
00028 #endif
00029 
00030 #ifdef WIN32
00031 #       ifdef MB_API_EXPORTS
00032 #               define MB_API __declspec(dllexport)
00033 #       else
00034 #               define MB_API __declspec(dllimport)
00035 #       endif
00036 #else
00037 #       ifdef GCC_HASCLASSVISIBILITY
00038 #               define MB_API __attribute__ ((visibility("default")))
00039 #       else
00040 #               define MB_API
00041 #       endif
00042 #endif
00043 
00044 #endif

Generated on Tue Sep 7 2010 03:53:49 for libmusicbrainz3 by  doxygen 1.7.1