1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 11:28:11 +00:00

Some compat work towards making GCC's libstdc++ build.

This commit is contained in:
Andreas Kling 2019-02-25 10:05:32 +01:00
parent 93c0dfd1d7
commit 0b957ed2b1
9 changed files with 120 additions and 11 deletions

View file

@ -30,10 +30,14 @@ extern int daylight;
int gettimeofday(struct timeval*, struct timezone* tz);
struct tm* localtime(const time_t*);
struct tm *gmtime(const time_t*);
time_t mktime(struct tm*);
time_t time(time_t*);
char* ctime(const time_t*);
void tzset();
char *asctime(const struct tm*);
clock_t clock();
double difftime(time_t, time_t);
size_t strftime(char* s, size_t max, const char* format, const struct tm*);
#define difftime(t1,t0) (double)(t1 - t0)