mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-11 08:40:44 +00:00
Include Sequent support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@463 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
543b27def0
commit
8ed02092f1
2 changed files with 28 additions and 0 deletions
|
@ -31,6 +31,20 @@
|
|||
#include <sys/time.h>
|
||||
#include <sys/resource.h>
|
||||
|
||||
#ifdef _SEQUENT_
|
||||
/* Include needed for getclock() in our replacement for gettimeofday() */
|
||||
#include <sys/timers.h>
|
||||
|
||||
/* Include needed for tzset() in our replacement for gettimeofday() */
|
||||
#include <time.h>
|
||||
|
||||
/* Sequent does not define struct timezone in any of it's header files */
|
||||
struct timezone {
|
||||
int tz_minuteswest;
|
||||
int tz_dsttime;
|
||||
};
|
||||
#endif /* _SEQUENT_ */
|
||||
|
||||
@interface Time : Magnitude
|
||||
{
|
||||
struct timeval tv; /* seconds and useconds */
|
||||
|
|
|
@ -31,6 +31,20 @@
|
|||
#include <sys/time.h>
|
||||
#include <sys/resource.h>
|
||||
|
||||
#ifdef _SEQUENT_
|
||||
/* Include needed for getclock() in our replacement for gettimeofday() */
|
||||
#include <sys/timers.h>
|
||||
|
||||
/* Include needed for tzset() in our replacement for gettimeofday() */
|
||||
#include <time.h>
|
||||
|
||||
/* Sequent does not define struct timezone in any of it's header files */
|
||||
struct timezone {
|
||||
int tz_minuteswest;
|
||||
int tz_dsttime;
|
||||
};
|
||||
#endif /* _SEQUENT_ */
|
||||
|
||||
@interface Time : Magnitude
|
||||
{
|
||||
struct timeval tv; /* seconds and useconds */
|
||||
|
|
Loading…
Reference in a new issue