ATBTariffCalculator/CalculatorCInterface/calculator_c_interface_lib_global.h

24 lines
505 B
C
Raw Normal View History

2024-03-04 16:31:14 +01:00
#ifndef CALCULATOR_C_INTERFACE_GLOBAL_H
#define CALCULATOR_C_INTERFACE_GLOBAL_H
#include <QtCore/qglobal.h>
2024-03-11 12:14:28 +01:00
#if defined(CALCULATOR_C_INTERFACE_LIBRARY)
2024-03-11 14:27:33 +01:00
#ifdef __linux__
#define CALCULATOR_C_INTERFACE_LIB_EXPORT
#else
2024-03-11 12:14:28 +01:00
#define CALCULATOR_C_INTERFACE_LIB_EXPORT Q_DECL_EXPORT __stdcall
2024-03-11 14:27:33 +01:00
#endif
#else
#ifdef __linux__
#define CALCULATOR_C_INTERFACE_LIB_EXPORT
2024-03-04 16:31:14 +01:00
#else
2024-03-11 12:14:28 +01:00
#define CALCULATOR_C_INTERFACE_LIB_EXPORT Q_DECL_IMPORT __stdcall
2024-03-04 16:31:14 +01:00
#endif
2024-03-11 14:27:33 +01:00
#endif
2024-03-04 16:31:14 +01:00
#endif // CALCULATOR_C_INTERFACE_GLOBAL_H