Changeset 285 for cpp/common


Ignore:
Timestamp:
01/05/15 20:41:11 (9 years ago)
Author:
Maciej Komosinski
Message:

Mac OS X support

Location:
cpp/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpp/common/nonstd_math.cpp

    r247 r285  
    2424#ifdef IPHONE
    2525//TODO! -> ? http://stackoverflow.com/questions/12762418/how-to-enable-sigfpe-signal-on-division-by-zero-in-ios-app
     26void fpExceptInit()
     27{}
     28
     29void fpExceptEnable()
     30{}
     31
     32void fpExceptDisable()
     33{}
     34#endif
     35
     36#ifdef MACOS
     37//TODO...?
     38
    2639void fpExceptInit()
    2740{}
  • cpp/common/random.h

    r247 r285  
    1313 #include <fcntl.h>
    1414#endif
    15 #ifdef __BORLANDC__
    16  #include <stdint.h> //uintptr_t in borland
     15#if defined(__BORLANDC__) || defined(MACOS)
     16 #include <stdint.h> //uintptr_t in borland and mac os
    1717#endif
    1818#ifdef _WIN32
Note: See TracChangeset for help on using the changeset viewer.