Fixed AmigaOS 3 defines

This commit is contained in:
llsth 2015-04-07 19:57:28 +02:00
parent e73a42b69a
commit 10860fb996
3 changed files with 8 additions and 8 deletions

View File

@ -32,7 +32,7 @@
#include "clib.h"
#ifdef __GNUC__
#if defined(__GNUC__) && !defined(AOS3)
#pragma GCC diagnostic ignored "-Wcast-align"
#endif

View File

@ -35,7 +35,7 @@
#include "clib.h"
#ifdef __GNUC__
#if defined(__GNUC__) && !defined(AOS3)
#pragma GCC diagnostic ignored "-Wcast-align"
#endif

View File

@ -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;