mirror of https://github.com/ArduPilot/ardupilot
DataFlash: ifdef both __APPLE__ and __MACH__
This is how we do in other places and should mean that we are targetting MacOS, not other apple products or other OSes using a mach kernel.
This commit is contained in:
parent
d65f453da1
commit
efb6b4c57e
|
@ -32,7 +32,7 @@
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#include <AP_HAL/utility/RingBuffer.h>
|
#include <AP_HAL/utility/RingBuffer.h>
|
||||||
#ifdef __APPLE__
|
#if defined(__APPLE__) && defined(__MACH__)
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/mount.h>
|
#include <sys/mount.h>
|
||||||
#elif !DATAFLASH_FILE_MINIMAL
|
#elif !DATAFLASH_FILE_MINIMAL
|
||||||
|
|
Loading…
Reference in New Issue