diff options
author | 2007-05-21 01:39:26 +0200 | |
---|---|---|
committer | 2007-05-20 17:37:50 -0700 | |
commit | 1cc42170efe8cdb5f3b1e41e26d796e04c31dc95 (patch) | |
tree | a513c50f71547594535852b3b5b0768f22d7ff0f /lib.c | |
parent | Change sparse homepage in ctags headers. (diff) | |
download | sparse-1cc42170efe8cdb5f3b1e41e26d796e04c31dc95.tar.gz sparse-1cc42170efe8cdb5f3b1e41e26d796e04c31dc95.tar.bz2 sparse-1cc42170efe8cdb5f3b1e41e26d796e04c31dc95.zip |
__DATE__ & __TIME expansion
Makes __DATE__expand to a character string literal of
the form "Mmm dd yyyy" where the names of the months
are the same as those generated by the asctime function,
and the first character of dd is a space character if the
value is less than 10.
Makes __TIME__ expand to a a character string literal of
the form "hh:mm:ss" as in the time generated by the
asctime function.
Signed-off-by: Damien Lespiau <damien.lespiau@gmail.com>
Diffstat (limited to 'lib.c')
-rw-r--r-- | lib.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -602,8 +602,6 @@ void create_builtin_stream(void) /* FIXME! We need to do these as special magic macros at expansion time! */ add_pre_buffer("#define __BASE_FILE__ \"base_file.c\"\n"); - add_pre_buffer("#define __DATE__ \"??? ?? ????\"\n"); - add_pre_buffer("#define __TIME__ \"??:??:??\"\n"); if (optimize) add_pre_buffer("#define __OPTIMIZE__ 1\n"); |