/*
 * Copyright (C) 2020-2021 Aloysius Indrayanto
 *
 * This file is part of the eCxx library, see LICENSE file for the license details.
 */


#ifndef ECXX_PLATFORM_COMMON_ATOMIC_GUARD_H
#define ECXX_PLATFORM_COMMON_ATOMIC_GUARD_H


//
// Include the platform-specific's implementation
//
#define INCLUDE_ECXX_PLATFORM_SPECIFIC_ATOMIC_GUARD_H

// AVR
#ifdef __AVR_ARCH__
    #include "../AVRCommon/AtomicGuard.h"
#endif

// NodeMCU-ESP8266
#ifdef __XTENSA__
    #include "../NodeMCU/AtomicGuard.h"
#endif

// Dummy (for testing the eCxx library in the host PC)
#ifdef INCLUDE_ECXX_PLATFORM_SPECIFIC_ATOMIC_GUARD_H
    #include "../Dummy/AtomicGuard.h"
#endif


#endif

