|
Author |
Topic: Legacy version of GetTimeOfDay in comm.cpp |
Title: Member
Posts: 274
Joined: 31 Mar 2007
|
Date Posted: Tue Mar 16, 2010 6:10 am
Subject: Legacy version of GetTimeOfDay in comm.cpp
|
Hey Che,
It looks like comm.cpp uses the legacy version of gettimeofday as follows:
int gettimeofday(struct timeval *tp, struct timezone *tzp);
However, my system doesn't have that defined- in sys/time.h, the only version of gettimeofday is defined as:
int gettimeofday(struct timeval * __restrict, void * __restrict);
I'm running OSX 10.5.8. Can you help me update the code to use the new version of gettimeofday?
-----signature----- :::The Star Sapphire:::
|
Post Reply | Quote | Private Message
|
Title: Member
Posts: 274
Joined: 31 Mar 2007
|
Date Posted: Tue Mar 16, 2010 6:59 am
Subject:
|
I modified the code in each instance to use a NULL pointer; this seems to have worked.
-----signature----- :::The Star Sapphire:::
|
Post Reply | Quote | Private Message
|
|
|
Awakened Worlds Forum Index » AwakeMUD Core Development |
|
All times are GMT
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
The time now is Thu Apr 26, 2018 5:58 am
|
powered by hailBoards v.1.2.0 ©2006 SPIRE / [based on phpBB©]
|
|
|