Changeset 18458 for gsdl


Ignore:
Timestamp:
02/04/09 11:01:06 (12 years ago)
Author:
davidb
Message:

putenv added to cover case of running on mac

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/runtime-src/src/colservr/lucenesearch.cpp

    r16310 r18458  
    175175  }
    176176#else
    177   putenv("GSDLOS=linux");
     177
     178#if defined(MACOS)
     179  putenv("GSDLOS=darwin");
     180#else
     181  putenv("GSDLOS=linux");
     182#endif
     183
     184  // What about Solaris etc ????
     185
    178186
    179187  FILE *PIN = popen(cmd.getcstr(), "r");
Note: See TracChangeset for help on using the changeset viewer.