2
0
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:
Lance Richardson
2016-03-15 11:52:58 -04:00
committed by Ben Pfaff
parent 8be8c95e8d
commit 97d0619c11
3 changed files with 13 additions and 0 deletions

View File

@@ -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__) */