// ================================================================================ //
//       THE CONTENT OF THIS WORK IS PROPRIETARY TO FEI S.A.S, (FEI S.A.S.),        //
//                  AND IS DISTRIBUTED UNDER A LICENSE AGREEMENT.                   //
//                                                                                  //
//     REPRODUCTION, DISCLOSURE,  OR USE,  IN WHOLE OR IN PART,  OTHER THAN AS      //
//     SPECIFIED  IN THE LICENSE ARE  NOT TO BE  UNDERTAKEN  EXCEPT WITH PRIOR      //
//                       WRITTEN AUTHORIZATION OF FEI S.A.S.                        //
//                                                                                  //
//                             RESTRICTED RIGHTS LEGEND                             //
//     USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT OF THE CONTENT OF THIS     //
//     WORK OR RELATED DOCUMENTATION IS SUBJECT TO RESTRICTIONS AS SET FORTH IN     //
//     SUBPARAGRAPH (C)(1) OF THE COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHT     //
//     CLAUSE  AT FAR 52.227-19  OR SUBPARAGRAPH  (C)(1)(II)  OF  THE RIGHTS IN     //
//        TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 52.227-7013.         //
//                                                                                  //
//                         COPYRIGHT (C) 2022 BY FEI S.A.S,                         //
//                                 BORDEAUX, FRANCE                                 //
//                               ALL RIGHTS RESERVED                                //
//                                                                                  //
// SEE http://assets.thermofisher.com/TFS-Assets/MSD/Licensing-Information/FEI_SAS_Thermo-Fisher-EULA_GLOBAL_With Usage Log_Nov2020.pdf //
//                              FOR MORE INFORMATION.                               //
// ================================================================================ //

#pragma once

#ifdef IOFORMAT_STATIC_BUILD
#  define IOFORMAT_API
#  define IOFORMAT_API_EXPORT
#  define IOFORMAT_API_IMPORT
#else
#  if defined(_MSC_VER)
#    ifdef IOFORMAT_EXPORTS
#      define IOFORMAT_API_EXPORT __declspec(dllexport)
#      define IOFORMAT_API_IMPORT
#      define IOFORMAT_API IOFORMAT_API_EXPORT
#    else
#      define IOFORMAT_API_IMPORT __declspec(dllimport)
#      define IOFORMAT_API_EXPORT
#      define IOFORMAT_API IOFORMAT_API_IMPORT
#    endif
#  elif defined(__linux__) || defined(__APPLE__)
#    define IOFORMAT_API __attribute__((visibility("default")))
#    define IOFORMAT_API_EXPORT IOFORMAT_API
#    define IOFORMAT_API_IMPORT
#  else
#    define IOFORMAT_API
#    define IOFORMAT_API_EXPORT
#    define IOFORMAT_API_IMPORT
#  endif
#endif
