text: 
  #ifdef WIN32
  #pragma warning(disable : 4018 4244 4267 4305)
  #ifdef COMMON_EXPORTS
  #define COMMON_API __declspec(dllexport)
  #else
  #define COMMON_API __declspec(dllimport)
  #endif
  
  #ifdef VDF_EXPORTS
  #define VDF_API __declspec(dllexport)
  #else
  #define VDF_API __declspec(dllimport)
  #endif
  
  #ifdef WASP_EXPORTS
  #define WASP_API __declspec(dllexport)
  #else
  #define WASP_API __declspec(dllimport)
  #endif
  
  #ifdef FLOW_EXPORTS
  #define FLOW_API __declspec(dllexport)
  #else
  #define FLOW_API __declspec(dllimport)
  #endif
  
  #ifdef PARAMS_EXPORTS
  #define PARAMS_API __declspec(dllexport)
  #else
  #define PARAMS_API __declspec(dllimport)
  #endif
  
  #ifdef RENDER_EXPORTS
  #define RENDER_API __declspec(dllexport)
  #else
  #define RENDER_API __declspec(dllimport)
  #endif
  
  #ifdef UDUNITS2_EXPORTS
  #define UDUNITS2_API __declspec(dllexport)
  #else
  #define UDUNITS2_API __declspec(dllimport)
  #endif
  
  #ifdef GRIBAPI_EXPORTS
  #define GRIBAPI_API __declspec(dllexport)
  #else
  #define GRIBAPI_API __declspec(dllimport)
  #endif
  
  #ifdef JPEG_EXPORTS
  // Slightly different definitions for jpeg project:
  #define JPEG_GLOBAL(type) __declspec(dllexport) type
  #define JPEG_EXTERN(type) extern __declspec(dllexport) type
  #else
  #define JPEG_GLOBAL(type) __declspec(dllimport) type
  #ifdef __cplusplus
  #define JPEG_EXTERN(type) extern "C" __declspec(dllimport) type
  #else
  #define JPEG_EXTERN(type) extern __declspec(dllimport) type
  #endif
  #endif // JPEG_EXPORTS
  
  #else // not WIN32, everything is exported
  #define COMMON_API
  #define VDF_API
  #define WASP_API
  #define FLOW_API
  #define PARAMS_API
  #define RENDER_API
  #define GRIBAPI_API
  #define JPEG_GLOBAL(type) type
  // Assume all outside projects depending on JPEG are C++
  #ifdef JPEG_EXPORTS
  #define JPEG_EXTERN(type) extern type
  #else
  #define JPEG_EXTERN(type) extern "C" type
  #endif // ifeq JPEG_EXPORTS
  #endif // end !Win32
  
  #ifndef M_PI
  #define M_PI 3.1415926535897932384626433832795
  #endif
  