Changeset 328

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

put libspread checks around Spread

Location:
trunk/thrucommon/src
Files:
2 modified

Legend:

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

    r313 r328  
     1#ifdef HAVE_CONFIG_H 
     2#include "thrucommon_config.h" 
     3#endif 
     4/* hack to work around thrift and log4cxx installing config.h's */ 
     5#undef HAVE_CONFIG_H  
     6 
     7#if HAVE_LIBSPREAD 
    18 
    29#include "Spread.h" 
     
    524531    } 
    525532} 
     533 
     534#endif /* HAVE_LIBSPREAD */ 
  • trunk/thrucommon/src/Spread.h

    r313 r328  
    55#ifndef _SPREAD_CONNECTION_H_ 
    66#define _SPREAD_CONNECTION_H_ 
     7 
     8#if HAVE_LIBSPREAD 
    79 
    810#include <log4cxx/logger.h> 
     
    109111}; 
    110112 
     113#endif /* HAVE_LIBSPREAD */ 
     114 
    111115#endif /* _SPREAD_CONNECTION_H_ */