Changeset 329

Show
Ignore:
Timestamp:
03/07/08 18:22:07 (9 months ago)
Author:
rm
Message:

fix thrurecorder when no spread is available

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/thrucommon/src/thrurecorder.cpp

    r311 r329  
    1313/* hack to work around thrift and log4cxx installing config.h's */ 
    1414#undef HAVE_CONFIG_H 
     15 
     16#if HAVE_LIBSPREAD 
    1517 
    1618#include "ConfigFile.h" 
     
    102104} 
    103105 
     106#else 
     107 
     108#include <stdio.h> 
     109#include <stdlib.h> 
     110 
     111int main (int argc, char * argv[]) 
     112{ 
     113    fprintf (stderr, "spread support not compiled in\n"); 
     114    exit (-1); 
     115} 
     116 
     117#endif /* HAVE_LIBSPREAD */