KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
platform.h
Go to the documentation of this file.
1/* KallistiOS ##version##
2
3 include/kos/platform.h
4 Copyright (C) 2024 Paul Cercueil
5
6*/
7
8/** \file kos/platform.h
9 \brief Platform detection macros.
10 \author Paul Cercueil
11*/
12
13#ifndef __KOS_PLATFORM_H
14#define __KOS_PLATFORM_H
15
16#ifdef __NAOMI__
17# define KOS_PLATFORM_IS_NAOMI 1
18#else
19# define KOS_PLATFORM_IS_NAOMI 0
20#endif
21
22#ifdef __DREAMCAST__
23# define KOS_PLATFORM_IS_DREAMCAST 1
24#else
25# define KOS_PLATFORM_IS_DREAMCAST 0
26#endif
27
28#endif /* __KOS_PLATFORM_H */