Use __STRICT_ANSI__ and __FAST_MATH__ as set during compilation of cling.

This commit is contained in:
Axel Naumann 2017-05-18 08:46:22 +02:00 committed by sftnight
parent 57e0eaee35
commit 8a439022aa

View File

@ -411,6 +411,14 @@ namespace {
#ifdef _REENTRANT
Opts.POSIXThreads = 1;
#endif
#ifdef __STRICT_ANSI__
Opts.GNUMode = 0;
#else
Opts.GNUMode = 1;
#endif
#ifdef __FAST_MATH__
Opts.FastMath = 1;
#endif
}