GG

Export.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 /* GG is a GUI for SDL and OpenGL.
00003    Copyright (C) 2003-2008 T. Zachary Laine
00004 
00005    This library is free software; you can redistribute it and/or
00006    modify it under the terms of the GNU Lesser General Public License
00007    as published by the Free Software Foundation; either version 2.1
00008    of the License, or (at your option) any later version.
00009    
00010    This library is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013    Lesser General Public License for more details.
00014     
00015    You should have received a copy of the GNU Lesser General Public
00016    License along with this library; if not, write to the Free
00017    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
00018    02111-1307 USA
00019 
00020    If you do not wish to comply with the terms of the LGPL please
00021    contact the author as other terms are available for a fee.
00022     
00023    Zach Laine
00024    whatwasthataddress@gmail.com */
00025    
00029 #ifndef _GG_Export_h_
00030 #define _GG_Export_h_
00031 
00032 #ifndef GG_API
00033 # ifdef _MSC_VER
00034 #  define WIN32_LEAN_AND_MEAN
00035 #  include <windows.h>
00036 #  undef min
00037 #  undef max
00038 #  ifdef GiGi_EXPORTS
00039 #   define GG_API __declspec(dllexport)
00040 #  else
00041 #   define GG_API __declspec(dllimport)
00042 #  endif
00043 # else
00044 #  define GG_API
00045 # endif
00046 #endif
00047 
00048 #endif // _GG_Export_h_