mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- <stdarg.h> now tries to use the compiler supplied, machine specific
<stdarg.h> file and also includes the OS4-specifc <sys/amigaos-va.h> file, if necessary. - Added another test to <sys/time.h> to check if the "timeval" definition is already in place. If it is, <exec/types.h> will not be included. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14720 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: time.h,v 1.2 2004-08-07 09:15:33 obarthel Exp $
|
||||
* $Id: time.h,v 1.3 2004-09-09 08:25:31 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -52,7 +52,7 @@ extern "C" {
|
||||
structure and try to get by with this definition. Sometimes it works,
|
||||
sometimes it doesn't. Not sure if there really is a good solution for
|
||||
this problem... */
|
||||
#ifndef DEVICES_TIMER_H
|
||||
#if !defined(__TIMEVAL_ALREADY_DEFINED) && !defined(DEVICES_TIMER_H)
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
@ -98,7 +98,7 @@ struct timeval
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
#endif /* DEVICES_TIMER_H */
|
||||
#endif /* __TIMEVAL_ALREADY_DEFINED && DEVICES_TIMER_H */
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user