Mercurial > pidgin.yaz
diff libfaim/aim_meta.c @ 840:595ac7759563
[gaim-migrate @ 850]
lots of (mostly useless for us) libfaim changes. should help portability, but it was always portable between unices.... stupid win32ers.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 04 Sep 2000 23:37:32 +0000 |
parents | b402a23f35df |
children |
line wrap: on
line diff
--- a/libfaim/aim_meta.c Mon Sep 04 01:15:38 2000 +0000 +++ b/libfaim/aim_meta.c Mon Sep 04 23:37:32 2000 +0000 @@ -10,17 +10,17 @@ #include <faim/aim.h> /* #include <aim_buildcode.h> generated by mkbuildinfo.sh */ -char *aim_getbuilddate(void) +faim_export char *aim_getbuilddate(void) { return AIM_BUILDDATE; } -char *aim_getbuildtime(void) +faim_export char *aim_getbuildtime(void) { return AIM_BUILDTIME; } -char *aim_getbuildstring(void) +faim_export char *aim_getbuildstring(void) { static char string[100]; @@ -33,3 +33,21 @@ return string; } +#if debug > 0 +faim_internal void faimdprintf(int dlevel, const char *format, ...) +{ + if (dlevel >= debug) { + va_list ap; + + va_start(ap, format); + vfprintf(stderr, format, ap); + va_end(ap); + } + return; +} +#else +faim_internal void faimdprintf(int dlevel, const char *format, ...) +{ + return; +} +#endif