mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
osx: handle differences between OS X and other BSDs
Conditional compilation to account for: - OS X does not implement RTM_IFANNOUNCE. - OS X does not implement tap netdeivces. - OS X does not implement RT_ROUNDUP(). Signed-off-by: Lance Richardson <lrichard@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
committed by
Ben Pfaff
parent
8be8c95e8d
commit
97d0619c11
@@ -15,6 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#if !defined(__MACH__)
|
||||
#include <config.h>
|
||||
|
||||
#include "netdev-provider.h"
|
||||
@@ -1826,3 +1827,4 @@ af_link_ioctl(unsigned long command, const void *arg)
|
||||
: 0);
|
||||
}
|
||||
#endif
|
||||
#endif /* !defined(__MACH__) */
|
||||
|
Reference in New Issue
Block a user