Changeset 407

Show
Ignore:
Timestamp:
07/11/07 08:10:33 (1 year ago)
Author:
blackhedd
Message:

added some ifdefs around Pipe functions to avoid breaking on Windows.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • version_0/ext/ed.cpp

    r381 r407  
    222222        if (ds) 
    223223                return ds->SendOutboundData (data, data_length); 
     224        #ifdef OS_UNIX 
    224225        PipeDescriptor *ps = dynamic_cast <PipeDescriptor*> (Bindable_t::GetObject (binding)); 
    225226        if (ps) 
    226227                return ps->SendOutboundData (data, data_length); 
     228        #endif 
    227229        return -1; 
    228230} 
  • version_0/ext/ed.h

    r384 r407  
    262262********************/ 
    263263 
     264#ifdef OS_UNIX 
    264265class PipeDescriptor: public EventableDescriptor 
    265266{ 
     
    303304                void _DispatchInboundData (const char *buffer, int size); 
    304305}; 
    305  
     306#endif // OS_UNIX 
    306307 
    307308