1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

- Modified to build with the thread-safe library on OS4.

git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15005 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2005-07-04 11:14:27 +00:00
parent 6ba2f7a178
commit 9d2ab96b56
2 changed files with 12 additions and 8 deletions

View File

@ -1,5 +1,5 @@
# #
# $Id: GNUmakefile.os4,v 1.2 2005-07-04 11:06:20 obarthel Exp $ # $Id: GNUmakefile.os4,v 1.3 2005-07-04 11:14:27 obarthel Exp $
# #
# :ts=4 # :ts=4
# #
@ -37,7 +37,7 @@ WARNINGS = \
CC = ppc-amigaos-gcc CC = ppc-amigaos-gcc
CPU = CPU =
OPTIONS = -DNDEBUG OPTIONS = -DNDEBUG -mcrt=clib2-ts
OPTIMIZE = -O OPTIMIZE = -O
DEBUG = -ggdb DEBUG = -ggdb

View File

@ -1,5 +1,5 @@
/* /*
* $Id: lib_base.c,v 1.3 2005-07-04 11:06:21 obarthel Exp $ * $Id: lib_base.c,v 1.4 2005-07-04 11:14:27 obarthel Exp $
* *
* :ts=4 * :ts=4
* *
@ -67,10 +67,10 @@ LONG _start(VOID);
/****************************************************************************/ /****************************************************************************/
STATIC struct SkeletonBase *ASM lib_init(REG (d0, struct SkeletonBase *sb ), REG (a0, BPTR segment_list ), REG (a6, APTR whatever )); STATIC struct SkeletonBase *ASM lib_init(REG(d0,struct SkeletonBase *sb),REG(a0,BPTR segment_list),REG(a6,APTR whatever));
STATIC struct SkeletonBase *ASM lib_open(REG (a6, APTR base )); STATIC struct SkeletonBase *ASM lib_open(REG(a6,APTR base));
STATIC BPTR ASM lib_expunge(REG (a6, APTR base )); STATIC BPTR ASM lib_expunge(REG(a6,APTR base));
STATIC BPTR ASM lib_close(REG (a6, APTR base )); STATIC BPTR ASM lib_close(REG(a6,APTR base));
/****************************************************************************/ /****************************************************************************/
@ -435,7 +435,8 @@ STATIC CONST APTR lib_interfaces[] =
/****************************************************************************/ /****************************************************************************/
extern ULONG VecTable68K[]; /* This is defined in the file "skeleton_68k.c". */
extern CONST APTR VecTable68K[];
/****************************************************************************/ /****************************************************************************/
@ -460,6 +461,9 @@ CONST struct TagItem local_lib_create_tags[] =
/****************************************************************************/ /****************************************************************************/
/* This definition and how it is used makes sure that the library
version information will be visible even with an old 68k "Version"
command and not just with the OS4 "Version" command. */
STATIC CONST UBYTE version_string[] = "$VER: " VSTRING; STATIC CONST UBYTE version_string[] = "$VER: " VSTRING;
/****************************************************************************/ /****************************************************************************/