text: /***************************************************************************
   *  Description: import/export macros for creating DLLS with Microsoft
   *	compiler. Any exported function needs to be declared with the
   *  appropriate G2O_XXXX_API macro. Also, there must be separate macros
   *  for each DLL (arrrrrgh!!!)
   *
   *  17 Jan 2012
   *  Email: pupilli@cs.bris.ac.uk
   ****************************************************************************/
  #ifndef G2O_TYPES_SBA_API_H
  #define G2O_TYPES_SBA_API_H
  
  #include "../../../config.h"
  
  #ifdef _MSC_VER
  // We are using a Microsoft compiler:
  #ifdef G2O_SHARED_LIBS
  #ifdef types_sba_EXPORTS
  #define G2O_TYPES_SBA_API __declspec(dllexport)
  #else
  #define G2O_TYPES_SBA_API __declspec(dllimport)
  #endif
  #else
  #define G2O_TYPES_SBA_API
  #endif
  
  #else
  // Not Microsoft compiler so set empty definition:
  #define G2O_TYPES_SBA_API
  #endif
  
  #endif // G2O_TYPES_SBA_API_H
  