#ifndef CROMP_DLL_SUPPORT_GROUP
#define CROMP_DLL_SUPPORT_GROUP

/*****************************************************************************\
*                                                                             *
*  Name   : cromp dll support                                                 *
*  Author : Chris Koeritz                                                     *
*                                                                             *
*  Purpose:                                                                   *
*                                                                             *
*    Helps the CROMP library to live in a dll.                                *
*                                                                             *
*******************************************************************************
* Copyright (c) 2002-$now By Author.  This program is free software; you can  *
* redistribute it and/or modify it under the terms of the GNU General Public  *
* License as published by the Free Software Foundation; either version 2 of   *
* the License or (at your option) any later version.  This is online at:      *
*     http://www.fsf.org/copyleft/gpl.html                                    *
* Please send any updates to: fred@gruntose.com                               *
\*****************************************************************************/

#include <basis/build_configuration.h>

// define BUILD_CROMP when you are creating the dll and
// define USE_HOOPLE_DLLS when you are importing a class from the dll.
#ifdef BUILD_CROMP
  #define CROMP_CLASS_STYLE    HOOPLE_DLL_EXPORT_CLASS
  #define CROMP_FUNCTION_STYLE HOOPLE_DLL_EXPORT_FUNCTION
#elif defined(USE_HOOPLE_DLLS)
  #define CROMP_CLASS_STYLE    HOOPLE_DLL_IMPORT_CLASS
  #define CROMP_FUNCTION_STYLE HOOPLE_DLL_IMPORT_FUNCTION
#else
  #define CROMP_CLASS_STYLE
  #define CROMP_FUNCTION_STYLE
#endif

#endif

