- Small changes to make this build with current SDK

git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/amiga-smbfs/trunk@21 26594b9e-b914-4e86-b7a1-9402bd427170
This commit is contained in:
Olaf Barthel
2009-04-14 12:16:11 +00:00
parent 2f0d253eef
commit cc612b61f0
2 changed files with 26 additions and 3 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
#
# $Id: GNUmakefile.os4,v 1.4 2009-04-14 11:32:51 obarthel Exp $
# $Id: GNUmakefile.os4,v 1.5 2009-04-14 12:16:11 obarthel Exp $
#
# :ts=8
#
@@ -47,7 +47,7 @@ DEBUG = -ggdb
###########################################################################
CFLAGS = $(WARNINGS) $(OPTIMIZE) $(DEBUG) $(CPU) $(OPTIONS) \
CFLAGS = -mcrt=clib2 -D__NO_NET_API $(WARNINGS) $(OPTIMIZE) $(DEBUG) $(CPU) $(OPTIONS) \
-I. -I/V/include -I/usr/local/amiga/ppc-amigaos/sys-include -Iinclude -Inetinclude
LFLAGS = -nostartfiles -nostdlib -L.
+24 -1
View File
@@ -1,5 +1,5 @@
/*
* $Id: main.c,v 1.8 2009-04-14 11:32:51 obarthel Exp $
* $Id: main.c,v 1.9 2009-04-14 12:16:11 obarthel Exp $
*
* :ts=4
*
@@ -40,6 +40,29 @@
/****************************************************************************/
/* 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__ */
/****************************************************************************/
/* This is for backwards compatibility only. */
#if defined(__amigaos4__)
#define fib_EntryType fib_Obsolete
#endif /* __amigaos4__ */
/****************************************************************************/
#include "smbfs_rev.h"
STRPTR Version = VERSTAG;