/* * :ts=4 * * SMB file system wrapper for AmigaOS, using the AmiTCP V3 API * * Copyright (C) 2000-2018 by Olaf `Olsen' Barthel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef _SYSTEM_HEADERS_H #define _SYSTEM_HEADERS_H 1 /*****************************************************************************/ #define __USE_INLINE__ #define __NOGLOBALIFACE__ #define __NOLIBBASE__ /****************************************************************************/ #if defined(__SASC) #define USE_BUILTIN_MATH #endif /* __SASC */ /*****************************************************************************/ #define NULL ((APTR)0L) #include /*****************************************************************************/ #define byte IGNORE_THIS /*****************************************************************************/ #include #include #include #include #include #include #include #include #if defined(__amigaos4__) #include #endif /* __amigaos4__ */ #include #include #include #include #include #include #include /*****************************************************************************/ #include /*****************************************************************************/ /* A quick workaround for the timeval/timerequest->TimeVal/TimeRequest change in the recent OS4 header files. */ #if defined(__NEW_TIMEVAL_DEFINITION_USED__) #define timeval TimeVal #define tv_secs Seconds #define tv_micro Microseconds #define timerequest TimeRequest #define tr_node Request #define tr_time Time #endif /* __NEW_TIMEVAL_DEFINITION_USED__ */ /*****************************************************************************/ #include #include #include #include #include #include #include #include /*****************************************************************************/ /* This is for backwards compatibility only. */ #if defined(__amigaos4__) #define fib_EntryType fib_Obsolete #endif /* __amigaos4__ */ /*****************************************************************************/ #include #include #include #include #include #include #include #include #include #include #include #include /*#include */ #include #include #include #include #include #include #include /*****************************************************************************/ #undef byte /*****************************************************************************/ #endif /* _SYSTEM_HEADERS_H */