mirror of https://gitlab.com/rnger/amath
Fixed AmigaOS 3 defines
This commit is contained in:
parent
e73a42b69a
commit
10860fb996
|
@ -32,7 +32,7 @@
|
|||
|
||||
#include "clib.h"
|
||||
|
||||
#ifdef __GNUC__
|
||||
#if defined(__GNUC__) && !defined(AOS3)
|
||||
#pragma GCC diagnostic ignored "-Wcast-align"
|
||||
#endif
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
#include "clib.h"
|
||||
|
||||
#ifdef __GNUC__
|
||||
#if defined(__GNUC__) && !defined(AOS3)
|
||||
#pragma GCC diagnostic ignored "-Wcast-align"
|
||||
#endif
|
||||
|
||||
|
|
|
@ -66,13 +66,13 @@
|
|||
#endif
|
||||
|
||||
// Check weather an POSIX compatible API is available
|
||||
#if defined(unix) || defined(__unix__) || defined(__unix)
|
||||
#if defined(unix) || defined(__unix__) || defined(__unix)
|
||||
# ifndef UNIX
|
||||
# define UNIX
|
||||
# endif
|
||||
# define UNIX
|
||||
# endif
|
||||
# include <unistd.h>
|
||||
# include <dirent.h>
|
||||
# include <termios.h>
|
||||
# include <dirent.h>
|
||||
# include <termios.h>
|
||||
#endif
|
||||
|
||||
/* STDC */
|
||||
|
@ -83,7 +83,7 @@
|
|||
#endif
|
||||
|
||||
/* GCC 2.95 */
|
||||
#if (_GNUC_ == 2 && __GNUC_MINOR__ == 95)
|
||||
#if (__GNUC__ == 2 && __GNUC_MINOR__ == 95)
|
||||
# include <sys/types.h>
|
||||
typedef u_int8_t uint8_t;
|
||||
typedef u_int16_t uint16_t;
|
||||
|
|
Loading…
Reference in New Issue