diff --git a/.gitignore b/.gitignore index 87dcd22..2c12cfc 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ build/ src/.DS_Store examples/.DS_Store .DS_Store +test/xcode \ No newline at end of file diff --git a/src/midi_Platform.h b/src/midi_Platform.h index 3d0473e..fe4c5f7 100644 --- a/src/midi_Platform.h +++ b/src/midi_Platform.h @@ -1,7 +1,7 @@ /*! * @file midi_Platform.h * Project Arduino MIDI Library - * @brief MIDI Library for the Arduino - Settings + * @brief MIDI Library for the Arduino - Platform * @author Francois Best * @date 24/02/11 * @license MIT - Copyright (c) 2015 Francois Best @@ -27,12 +27,18 @@ #pragma once +#include "midi_Defs.h" + BEGIN_MIDI_NAMESPACE +#if ARDUINO + // DefaultPlatform is the Arduino Platform struct DefaultPlatform { static unsigned long now() { return ::millis(); }; }; +#endif + END_MIDI_NAMESPACE