/*==============================================================================
                Copyright (c) 2003-2005 UGS Corporation
                   Unpublished - All Rights Reserved
 ==============================================================================*/

/*
    File Description:

    The header file that defines the export symbols for the VIS module.
 */

#define libvis                   -10092

#ifdef EXPORTLIBRARY
#error ExportLibrary was already defined
#endif

#define EXPORTLIBRARY            libvis

#if !defined(IPLIB)
#   error IPLIB is not defined
#endif

/* Handwritten code should use VIS_API, not VISEXPORT */

#define VIS_API VISEXPORT

/* Support VISEXPORT for autogenerated code only */

#if IPLIB==libvis
#   if defined(__lint)
#       define VISEXPORT       __export(vis)
#       define VISGLOBAL       extern __global(vis)
#       define VISPRIVATE      extern __private(vis)
#   elif defined(_WIN32)
#       define VISEXPORT       __declspec(dllexport)
#       define VISGLOBAL       extern __declspec(dllexport)
#       define VISPRIVATE      extern
#   else
#       define VISEXPORT
#       define VISGLOBAL       extern
#       define VISPRIVATE      extern
#   endif
#else
#   if defined(__lint)
#       define VISEXPORT       __export(vis)
#       define VISGLOBAL       extern __global(vis)
#   elif defined(_WIN32) && !defined(WNT_STATIC_LINK)
#       define VISEXPORT      __declspec(dllimport)
#       define VISGLOBAL       extern __declspec(dllimport)
#   else
#       define VISEXPORT
#       define VISGLOBAL       extern
#   endif
#endif
