Files
libicsneo/include/icsneo/platform/pcap.h
T
Paul Hollinsky 781fc2c034 Drivers: Decouple from devices
This allows us to better implement alternative drivers
for devices, such as for device sharing servers or
talking to CoreMini processors within the same device.
2022-03-27 14:30:31 -04:00

12 lines
283 B
C

#ifndef __PCAP_H_
#define __PCAP_H_
#ifdef _WIN32
#include "icsneo/platform/windows/pcap.h"
#elif defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
#include "icsneo/platform/posix/pcap.h"
#else
#warning "This platform is not supported by the PCAP driver"
#endif
#endif