Ignore:
Timestamp:
04/20/14 01:48:23 (10 years ago)
Author:
Maciej Komosinski
Message:

Android compilation and access to RESOURCES and HOME files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/common/nonstd_math.cpp

    r226 r227  
    2424
    2525
    26 #if defined LINUX || defined TIZEN || defined __ANDROID__
     26#if defined LINUX || defined TIZEN || defined __ANDROID__ || defined IPHONE
    2727
    2828#include <fenv.h>
     
    4444#endif
    4545
    46 
    47 #ifdef IPHONE
    48 
    49 #include <fenv.h>
    50 
    51 void fpExceptInit()
    52 {}
    53 
    54 void fpExceptEnable()
    55 {
    56 feclearexcept(FE_DIVBYZERO | FE_OVERFLOW);
    57 //feenableexcept(FE_DIVBYZERO | FE_OVERFLOW);
    58 }
    59 
    60 void fpExceptDisable()
    61 {
    62 //fedisableexcept(FE_DIVBYZERO | FE_OVERFLOW);
    63 }
    64 #endif
    6546
    6647
Note: See TracChangeset for help on using the changeset viewer.