mirror of
https://gitlab.com/rnger/amath
synced 2025-10-05 02:19:17 +00:00
Identify systems more uniquely
This commit is contained in:
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
|
||||||
|
Reference in New Issue
Block a user