Mail Archives: djgpp/1994/02/03/09:03:08
Typical isn't it? I send off my question, and then realise what the
problem is.
The ftime() problem is solved by including extern "C" in timeb.h as
follows:
#include <sys/types.h>
struct timeb
{
time_t time; /* Seconds since the epoch */
unsigned short millitm;
short timezone;
short dstflag;
};
#ifdef __cplusplus
extern "C" {
#endif
extern int ftime(struct timeb *);
#ifdef __cplusplus
}
#endif
--
Paul Harness, | Internet: gapa83 AT udcf DOT gla DOT ac DOT uk
Department of Physics and Astronomy, |
University of Glasgow, | Tel +44-41-339-8855 ext 8359
Glasgow, G12 8QQ, SCOTLAND. | Fax +44-41-334-9029
- Raw text -