mirror of
https://github.com/obarthel/amiga-smbfs.git
synced 2025-12-08 14:58:35 +00:00
- 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:
@@ -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
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user