7#ifndef INCLUDE_FSI_FSIPREDEFINES_HPP_
8#define INCLUDE_FSI_FSIPREDEFINES_HPP_
11# define __FSI_DIRUTILS_PREDEF_CPP_OPEN extern "C" {
12# define __FSI_DIRUTILS_PREDEF_CPP_CLOSE }
14# define __FSI_DIRUTILS_PREDEF_CPP_OPEN
15# define __FSI_DIRUTILS_PREDEF_CPP_CLOSE
21#define FSI_DEFAULT_CPP_STD 201703L
24#define FSI_VERSION_MAJOR 0
25#define FSI_VERSION_MINOR 1
26#define FSI_VERSION_PATCH 2
28#define FSI_VERSION_STD 20260208
34#define FSI_VERSION_STATE "beta"
36#define FSI_VERSION ((FSI_VERSION_MAJOR<<16)|(FSI_VERSION_MINOR<<8)|(FSI_VERSION_PATCH)|(FSI_VERSION_STATE << 24))
38#define FSI_VERSION_CHECK(FSI_VERSION_MAJOR, FSI_VERSION_MINOR, FSI_VERSION_PATCH, FSI_VERSION_STATE) \
39 (((FSI_VERSION_MAJOR)<<16)|((FSI_VERSION_MINOR)<<8)|(FSI_VERSION_PATCH)|((FSI_VERSION_STATE) << 24))
42#define FSI_STRINGIFY(x) #x
43#define FSI_TOSTRING(x) FSI_STRINGIFY(x)
45#define FSI_FREE(x) free(x); x = NULL
46#define FSI_DEL(x) delete x; x = nullptr
52#if defined(WIN32) || defined(_WIN32)
54#elif defined(__APPLE__) || defined(__MACH__) || defined(Macintosh)
56#elif defined(__linux__) || defined(__unix) || defined(__unix__)
57# define FSI_OS_UNIX_LINUX
58#elif defined(__FreeBSD__)
59# define FSI_OS_FREEBSD
61# warning "Current platform is not supported"
#define __FSI_DIRUTILS_PREDEF_CPP_OPEN
FSIpredefines.h - pcannonProjectStandards Predefines for C and C++ projects STD Information: 20250723...
#define __FSI_DIRUTILS_PREDEF_CPP_CLOSE