GEOS: export.h Source File

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

# export.h

    00001 /**********************************************************************
    00002  * $Id: export.h 2809 2009-12-06 01:05:24Z mloskot $
    00003  *
    00004  * GEOS - Geometry Engine Open Source
    00005  * http://geos.refractions.net
    00006  *
    00007  * Copyright (C) 2009   Ragi Y. Burhum <ragi@burhum.com>
    00008  *
    00009  * This is free software; you can redistribute and/or modify it under
    00010  * the terms of the GNU Lesser General Public Licence as published
    00011  * by the Free Software Foundation.
    00012  * See the COPYING file for more information.
    00013  *
    00014  **********************************************************************/
    00015
    00016 #ifndef GEOS_EXPORT_H
    00017 #define GEOS_EXPORT_H
    00018
    00019 #if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || \
    00020     defined( __BCPLUSPLUS__)  || defined( __MWERKS__)
    00021
    00022 #  if defined(GEOS_DLL_EXPORT)
    00023 #    define GEOS_DLL   __declspec(dllexport)
    00024 #  elif defined(GEOS_DLL_IMPORT)
    00025 #    define GEOS_DLL   __declspec(dllimport)
    00026 #  else
    00027 #    define GEOS_DLL
    00028 #  endif
    00029 #else
    00030 #  define GEOS_DLL
    00031 #endif
    00032
    00033 #endif // GEOS_EXPORT_H
    00034