KallistiOS
git master
Independent SDK for the Sega Dreamcast
Toggle main menu visibility
Main Page
Source Code
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
l
o
s
t
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Variables
_
d
h
i
k
n
v
Typedefs
_
a
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
b
d
i
k
m
p
s
u
v
w
Enumerator
_
b
d
e
i
k
m
p
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
▼
KallistiOS
Goal
►
Overview
Getting Started
Licensing
Examples
Resources
Source Code
Deprecated List
Todo List
►
Topics
►
Data Structures
▼
Files
▼
File List
►
addons
►
doc
▼
include
►
arpa
▼
kos
►
barrier.h
blockdev.h
►
cdefs.h
►
cond.h
►
dbgio.h
►
dbglog.h
►
elf.h
►
exports.h
►
fs.h
fs_dev.h
fs_null.h
►
fs_pty.h
►
fs_ramdisk.h
fs_random.h
►
fs_romdisk.h
►
fs_socket.h
►
genwait.h
►
init.h
init_base.h
iovec.h
►
library.h
►
limits.h
►
mutex.h
►
net.h
►
nmmgr.h
►
once.h
►
oneshot_timer.h
►
opts.h
►
platform.h
►
recursive_lock.h
►
regfield.h
►
rwsem.h
►
sem.h
►
stdlib.h
►
string.h
►
thread.h
time.h
►
tls.h
►
version.h
►
worker_thread.h
►
netinet
►
sys
►
assert.h
kos.h
►
libgen.h
►
malloc.h
►
netdb.h
►
poll.h
pthread.h
►
threads.h
►
utime.h
►
kernel
►
Globals
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
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 */
include
kos
platform.h
Generated by
1.11.0