Last change
on this file since 1280 was
1279,
checked in by Maciej Komosinski, 15 months ago
|
Configuring floating point exception handling, follow-up to r1275
|
-
Property svn:eol-style set to
native
|
File size:
1.3 KB
|
Rev | Line | |
---|
[286] | 1 | // This file is a part of Framsticks SDK. http://www.framsticks.com/ |
---|
[1279] | 2 | // Copyright (C) 1999-2023 Maciej Komosinski and Szymon Ulatowski. |
---|
[286] | 3 | // See LICENSE.txt for details. |
---|
[121] | 4 | |
---|
[288] | 5 | #ifndef _SDK_BUILD_CONFIG_H_ |
---|
| 6 | #define _SDK_BUILD_CONFIG_H_ |
---|
[109] | 7 | |
---|
[179] | 8 | #include "version.h" |
---|
[109] | 9 | |
---|
[318] | 10 | #ifdef __APPLE__ |
---|
[317] | 11 | #define MACOS |
---|
[917] | 12 | #elif defined __linux || defined __CYGWIN__ || defined __MINGW32__ |
---|
[317] | 13 | #define LINUX |
---|
| 14 | #endif |
---|
| 15 | |
---|
[917] | 16 | #ifdef __MINGW32__ |
---|
| 17 | #undef _WIN32 //assume that someone using MinGW to compile this SDK wants to pretend their system is Linux, not Windows |
---|
| 18 | #endif |
---|
| 19 | |
---|
| 20 | |
---|
[1279] | 21 | |
---|
| 22 | #ifdef _WIN32 |
---|
| 23 | #define WANTED_FP_EXCEPTIONS (fpExcept::FPEX_DIV0 | fpExcept::FPEX_INVALID | fpExcept::FPEX_OVERFLOW) // EM_DENORMAL | EM_UNDERFLOW | EM_INEXACT; //commented out exceptions occur during proper operation |
---|
| 24 | #else |
---|
| 25 | #define WANTED_FP_EXCEPTIONS fpExcept::FPEX_DIV0 // | fpExcept::FPEX_INVALID | fpExcept::FPEX_OVERFLOW -> still wanted but we need TODO use try catch in ExtValue! |
---|
| 26 | #endif |
---|
| 27 | |
---|
[826] | 28 | #define USE_PRINTFLOAT_DRAGON4 |
---|
[109] | 29 | #define NOCREATUREOBJECT |
---|
[288] | 30 | #define SDK_WITHOUT_FRAMS |
---|
[109] | 31 | #define NO_BARRIER |
---|
| 32 | #define NO_VMACHINE |
---|
| 33 | |
---|
[288] | 34 | #define NEURO_IMPL_FILES "neuroimplfiles-SDK.h" |
---|
| 35 | #define NEURO_CLS_FACTORY "neurocls-f0-SDK-factory.h" |
---|
| 36 | #define NEURO_CLS_LIBRARY "neurocls-f0-SDK-library.h" |
---|
| 37 | #define F0_DEFASSIGN_FILE "defassign-f0-SDK.h" |
---|
| 38 | #define F0_CLASSES_FILE "f0-SDK-classes.h" |
---|
| 39 | #define GEN_CONFIG_FILE "gen-config-SDK.h" |
---|
[109] | 40 | |
---|
| 41 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.