Changeset 20205

Show
Ignore:
Timestamp:
05/11/07 14:51:53 (1 year ago)
Author:
patrick
Message:

Fixed a compile error when building against Boost 1.32.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • PyJuggler/branches/1.2/src/vpr/_InetAddr.cpp

    r19730 r20205  
    66#include <boost/python.hpp> 
    77#include <boost/cstdint.hpp> 
     8#include <boost/version.hpp> 
    89 
    910// Includes ==================================================================== 
     
    6061      )) 
    6162      .def(init< const vpr::InetAddr& >()) 
    62       .def_readonly("AnyAddr", &vpr::InetAddr::AnyAddr, 
     63      .def_readonly("AnyAddr", &vpr::InetAddr::AnyAddr 
     64#if BOOST_VERSION >= 103300 
     65           , 
    6366           "Read-only vpr.InetAddr reference representing any internet\n" 
    6467           "address (INADDR_ANY)." 
     68#endif 
    6569      ) 
    6670      .def("getLocalHost", &vpr::InetAddr::getLocalHost,