2015-05-19 15:17 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* src/common/hbprintf.c
    * removed modfl() protection with old HB_OS_IPHONE macro.
      If someone will need it for some old iOS versions then please read
      it protected by HB_OS_IOS and __IPHONE_OS_VERSION_MIN_REQUIRED
      macros or inform me about the exact iOS version which do not support
      modfl() and I'll add it.

  * include/hbatomic.h
    * disable GCC atomic macros for GCC <= 4.5 in OS2 builds.
      They can be manually enabled by users using:
         set HB_USER_CFLAGS=-DHB_USE_GCCATOMIC
This commit is contained in:
Przemysław Czerpak
2015-05-19 15:17:41 +02:00
parent e8601dacaa
commit 5576a9721b
3 changed files with 19 additions and 2 deletions

View File

@@ -89,7 +89,11 @@ HB_EXTERN_BEGIN
# if defined( HB_USE_GCCATOMIC_OFF )
# undef HB_USE_GCCATOMIC
# elif ( ( __GNUC__ > 4 ) || ( __GNUC__ == 4 && __GNUC_MINOR__ >= 1) ) && \
# elif defined( HB_OS_OS2 ) && \
( __GNUC__ < 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ <= 5 ) )
/* allow users to enable it manually by HB_USE_GCCATOMIC macro */
/* #undef HB_USE_GCCATOMIC */
# elif ( __GNUC__ > 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ >= 1 ) ) && \
! defined( __MINGW32CE__ ) && ! defined( HB_USE_GCCATOMIC )
# define HB_USE_GCCATOMIC
# elif defined( HB_OS_WIN ) && defined( __clang__ )