Ignore:
Timestamp:
Dec 8, 2009, 6:18:58 PM (14 years ago)
Author:
mies
Message:

added bluetooth check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/utility/addressing/mac_address.hpp

    r5284 r7041  
    44#include "detail/address_convenience.hpp"
    55
     6#include<config.h>
    67#include<string>
    78#include<cassert>
    89#include<boost/tr1/functional.hpp>
     10#ifdef HAVE_LIBBLUETOOTH
    911#include<bluetooth/bluetooth.h>
     12#endif
    1013
    1114namespace ariba {
     
    125128
    126129        //--- conversion ----------------------------------------------------------
     130#ifdef HAVE_LIBBLUETOOTH
    127131
    128132        bdaddr_t bluetooth() const {
     
    135139                for (size_t i=0; i<6; i++) mac[i] = addr.b[5-i];
    136140        }
     141#endif
    137142};
    138143
Note: See TracChangeset for help on using the changeset viewer.