diff options
Diffstat (limited to 'redist')
-rw-r--r-- | redist/CNFGWinDriver.c | 1 | ||||
-rw-r--r-- | redist/linmath.h | 6 |
2 files changed, 2 insertions, 5 deletions
diff --git a/redist/CNFGWinDriver.c b/redist/CNFGWinDriver.c index 4d34e19..3bbf509 100644 --- a/redist/CNFGWinDriver.c +++ b/redist/CNFGWinDriver.c @@ -240,7 +240,6 @@ void CNFGHandleInput() break; } } - return 0; } #ifndef CNFGOGL diff --git a/redist/linmath.h b/redist/linmath.h index e46bbd4..78cac5c 100644 --- a/redist/linmath.h +++ b/redist/linmath.h @@ -7,13 +7,11 @@ extern "C" { #endif -#ifndef LINMATH_EXPORT -#ifdef _WIN32 -#define LINMATH_EXPORT extern __declspec(dllexport) +#if defined( _WIN32 ) && !defined(TCC) +#define LINMATH_EXPORT __declspec(dllexport) #else #define LINMATH_EXPORT __attribute__((visibility("default"))) #endif -#endif // Yes, I know it's kind of arbitrary. #define DEFAULT_EPSILON 0.001 |