Changeset 285


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

Mac OS X support

Location:
cpp
Files:
3 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
  • cpp/frams/canvas/nn_smart_layout.cpp

    r247 r285  
    88#ifdef __BORLANDC__
    99 #include <alloc.h> //borland needs for alloc/free
     10#endif
     11#ifdef MACOS
     12 #include <stdlib.h>
    1013#endif
    1114
Note: See TracChangeset for help on using the changeset viewer.