ams: support building unit test programs on windows/linux/macos
This commit is contained in:
@@ -17,13 +17,9 @@
|
||||
#include <vapours.hpp>
|
||||
|
||||
#if defined(ATMOSPHERE_BOARD_NINTENDO_NX)
|
||||
|
||||
#include <stratosphere/wec/wec_wake_event.board.nintendo_nx.hpp>
|
||||
|
||||
#else
|
||||
|
||||
#error "Unknown board for ams::wec::WakeEvent"
|
||||
|
||||
#include <stratosphere/wec/wec_wake_event.generic.hpp>
|
||||
#endif
|
||||
|
||||
namespace ams::wec {
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* Copyright (c) Atmosphère-NX
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms and conditions of the GNU General Public License,
|
||||
* version 2, as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#pragma once
|
||||
#include <vapours.hpp>
|
||||
|
||||
namespace ams::wec {
|
||||
|
||||
enum WakeEvent {
|
||||
WakeEvent_Debug = 0,
|
||||
|
||||
WakeEvent_Count = 1,
|
||||
};
|
||||
|
||||
constexpr inline WakeEvent WakeEvent_None = static_cast<WakeEvent>(-1);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user