cxJava.h

// cxJava.h
//
// Author David Barrett-Lennard
// (C)opyright Cedanet Pty Ltd 2019

#pragma once

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