Changeset 18458

Show
Ignore:
Timestamp:
04.02.2009 11:01:06 (11 years ago)
Author:
davidb
Message:

putenv added to cover case of running on mac

Files:
1 modified

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");