Ignore:
Timestamp:
03/31/16 00:34:37 (8 years ago)
Author:
Maciej Komosinski
Message:

emscripten compatibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/common/nonstd_math.h

    r286 r492  
    1717#endif
    1818
    19 #if defined __BORLANDC__ || (_MSC_VER <= 1700)
    20 double round(double val);  //http://stackoverflow.com/questions/2170385/c-math-functions
     19#if (defined __BORLANDC__ || (_MSC_VER <= 1700)) & (!defined EMSCRIPTEN)
     20  double round(double val);  //http://stackoverflow.com/questions/2170385/c-math-functions
    2121#endif
    2222
Note: See TracChangeset for help on using the changeset viewer.