/* PIP - Platform Independent Primitives Private PIP includes Ivan Pelipenko peri4ko@yandex.ru, Andrey Bychkov work.a.b@yandex.ru This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef PIINCLUDES_P_H #define PIINCLUDES_P_H // clang-format off #include "picout.h" #ifdef WINDOWS # ifdef _WIN32_WINNT # undef _WIN32_WINNT # define _WIN32_WINNT 0x0600 # endif # include # include # include typedef LONG(NTAPI * PINtQueryTimerResolution)(PULONG, PULONG, PULONG); typedef LONG(NTAPI * PINtSetTimerResolution)(ULONG, BOOLEAN, PULONG); #endif #ifdef CC_GCC # include #endif #include #include #include #include #include #include #include #include #ifdef FREERTOS # ifdef ESP_PLATFORM # include "freertos/FreeRTOS.h" # include "freertos/task.h" # endif # ifdef ARDUINO_ARCH_STM32 # include # endif #endif // clang-format on #endif // PIINCLUDES_P_H