tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] [PATCH] time issue


From: Tolga Dalman
Subject: [Tinycc-devel] [PATCH] time issue
Date: Mon, 14 Apr 2003 14:47:44 +0200

hi, 

when i wanted to compile with gcc, i had some problems. so i attached a patch,
which simply changes

#include <sys/time.h>
and
#include <sys/ucontext.h> 

into 

#include <time.h>

according to time(2) man-page.

also, i added a cast to (const time_t*) in localtime(), also according to the
man-page, just for code beautification and correctness.

finally, i would suggest adding an option for the Makefile (or rather configure)
to change the CFLAGS. i had to edit the Makefile manually.

now i'm excited to test the tcc with my project ;) 

brg, 
Tolga Dalman. 

ps: oh, i'm not yet on your list, so would you mind to cc directly to me, in
case you wanted to answer? thanks alot...


Attachment: tcc.c.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]