Mercurial > pidgin
comparison src/log.c @ 13992:0567de116699
[gaim-migrate @ 16566]
Having value.h include config.h is bad. It caused plenty of warnings building my plugins, for example.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 25 Jul 2006 01:25:04 +0000 |
parents | f94309c7c480 |
children | 626977ae8869 |
comparison
equal
deleted
inserted
replaced
13991:87797e287549 | 13992:0567de116699 |
---|---|
602 # error Unknown size of time_t | 602 # error Unknown size of time_t |
603 #endif | 603 #endif |
604 gaim_value_new(GAIM_TYPE_POINTER), 2, | 604 gaim_value_new(GAIM_TYPE_POINTER), 2, |
605 gaim_value_new(GAIM_TYPE_SUBTYPE, | 605 gaim_value_new(GAIM_TYPE_SUBTYPE, |
606 GAIM_SUBTYPE_LOG), | 606 GAIM_SUBTYPE_LOG), |
607 gaim_value_new(GAIM_TYPE_TIME_T)); | 607 #if SIZEOF_TIME_T == 4 |
608 gaim_value_new(GAIM_TYPE_INT)); | |
609 #elif SIZE_OF_TIME_T == 8 | |
610 gaim_value_new(GAIM_TYPE_INT64)); | |
611 #else | |
612 # error Unknown size of time_t | |
613 #endif | |
608 | 614 |
609 gaim_prefs_connect_callback(NULL, "/core/logging/format", | 615 gaim_prefs_connect_callback(NULL, "/core/logging/format", |
610 logger_pref_cb, NULL); | 616 logger_pref_cb, NULL); |
611 gaim_prefs_trigger_callback("/core/logging/format"); | 617 gaim_prefs_trigger_callback("/core/logging/format"); |
612 | 618 |