cxMacroExpander.h

// cxMacroExpander.h
//
// Author David Barrett-Lennard
// (C)opyright Cedanet Pty Ltd 2010

#pragma once
#ifndef Ceda_cxMacroExpander_cxMacroExpander_H
#define Ceda_cxMacroExpander_cxMacroExpander_H

#if defined(_WIN32) && !defined(__WINE__) && !defined(cxMacroExpander_STATIC_LIBRARY)
    #ifdef cxMacroExpander_IS_COMPILING
        // While compiling the library, export symbols
        #define cxMacroExpander_API __declspec(dllexport)
    #else
        // While #including public headers of the library, import symbols
        #define cxMacroExpander_API __declspec(dllimport)
    #endif
#else 
    #define cxMacroExpander_API
#endif

#endif // include guard