Ignore:
Timestamp:
2014-05-13T19:31:47+12:00 (10 years ago)
Author:
ak19
Message:

Nightly bins failed to go through on linux and mac. On linux the single line comment signs seem to be ignored in the if defined blocks, so have used multiline comments. On Mac, cmath header is unrecognised.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/indexers/mgpp/lib/sysfuncs.h

    r29051 r29054  
    6565#include <stdlib.h>
    6666
    67 #if defined(GSDL_USE_IOS_H)
     67#if defined(GSDL_USE_IOS_H) || defined __APPLE__
    6868#  include <math.h>
    6969#else
    70 // Newer Visual Studio compilers (e.g., VS12) prefer the
    71 // math's header file to be included this way
     70/* Newer Visual Studio compilers (e.g., VS12) prefer the math's header file to be included this way */
    7271#  include <cmath>
    7372#endif
Note: See TracChangeset for help on using the changeset viewer.