Ignore:
Timestamp:
2014-05-12T17:53:02+12:00 (10 years ago)
Author:
ak19
Message:

Dr Bainbridge made some fixes to header file inclusions so that when compiling with Visual Studio 12 (2013) on Windows (64 bit), GS2 still compiles successfully

File:
1 edited

Legend:

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

    r25147 r29051  
    6464 */
    6565#include <stdlib.h>
    66 #include <math.h>
     66
     67#if defined(GSDL_USE_IOS_H)
     68#  include <math.h>
     69#else
     70// Newer Visual Studio compilers (e.g., VS12) prefer the
     71// math's header file to be included this way
     72#  include <cmath>
     73#endif
     74
     75
    6776
    6877#ifndef log2
Note: See TracChangeset for help on using the changeset viewer.