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

- The record locking code in fcntl() is no longer part of the

regular libc.a, but only of libunix.a.

- Changed the definition of the D_S() macro to cast the pointer
  address to an unsigned 32 bit integer.


git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14956 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2005-05-27 13:19:30 +00:00
parent a19d60f524
commit a03ced93b0
3 changed files with 11 additions and 3 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: macros.h,v 1.19 2005-03-18 12:38:22 obarthel Exp $
* $Id: macros.h,v 1.20 2005-05-27 13:19:30 obarthel Exp $
*
* :ts=4
*
@ -75,7 +75,7 @@
char array allocated. */
#define D_S(type, name) \
char a_##name[sizeof(type)+3]; \
type *name = (type *)((LONG)(a_##name+3) & ~3)
type *name = (type *)((ULONG)(a_##name+3) & ~3)
/****************************************************************************/