mirror of https://gitlab.com/rnger/amath
Identify systems more uniquely
This commit is contained in:
parent
d910b98571
commit
d7add409cd
22
src/amath.h
22
src/amath.h
|
@ -31,26 +31,26 @@
|
||||||
#define AMATH_H
|
#define AMATH_H
|
||||||
|
|
||||||
/* Operating System */
|
/* Operating System */
|
||||||
#if defined(__AMIGA__)
|
#if defined(__MORPHOS__)
|
||||||
# define SYS_NAME "AmigaOS 3"
|
|
||||||
# ifndef AOS3
|
|
||||||
# define AOS3
|
|
||||||
# endif
|
|
||||||
#elif defined(__MORPHOS__)
|
|
||||||
# define SYS_NAME "MorphOS"
|
# define SYS_NAME "MorphOS"
|
||||||
# ifndef MORPHOS
|
# ifndef MORPHOS
|
||||||
# define MORPHOS
|
# define MORPHOS
|
||||||
# endif
|
# endif
|
||||||
#elif defined(__AROS__)
|
|
||||||
# define SYS_NAME "AROS"
|
|
||||||
# ifndef AROS
|
|
||||||
# define AROS
|
|
||||||
# endif
|
|
||||||
#elif defined(__amigaos4__)
|
#elif defined(__amigaos4__)
|
||||||
# define SYS_NAME "AmigaOS 4"
|
# define SYS_NAME "AmigaOS 4"
|
||||||
# ifndef AOS4
|
# ifndef AOS4
|
||||||
# define AOS4
|
# define AOS4
|
||||||
# endif
|
# endif
|
||||||
|
#elif defined(__AMIGA__) || defined(__amigaos3__)
|
||||||
|
# define SYS_NAME "AmigaOS 3"
|
||||||
|
# ifndef AOS3
|
||||||
|
# define AOS3
|
||||||
|
# endif
|
||||||
|
#elif defined(__AROS__)
|
||||||
|
# define SYS_NAME "AROS"
|
||||||
|
# ifndef AROS
|
||||||
|
# define AROS
|
||||||
|
# endif
|
||||||
#elif defined(__HAIKU__)
|
#elif defined(__HAIKU__)
|
||||||
# define SYS_NAME "Haiku"
|
# define SYS_NAME "Haiku"
|
||||||
# ifndef HAIKU
|
# ifndef HAIKU
|
||||||
|
|
Loading…
Reference in New Issue