Changeset 29054

Show
Ignore:
Timestamp:
13.05.2014 19:31:47 (5 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.

Files:
1 modified

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