Small fixes for the AmigaOS4 build to work

This commit is contained in:
obarthel
2018-05-11 11:27:57 +02:00
parent b828f634e1
commit 914915496f
2 changed files with 26 additions and 0 deletions
+16
View File
@@ -10,6 +10,22 @@
#include "smbfs.h"
/****************************************************************************/
/* 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 <smb/smb_fs.h>