Cのプリプロセッサで
#if sizeof(time_t) == 8
 /* time_t が 64 bit のときの処理 */
#else
 /* time_t が 32 bit のときの処理 */
#endif
みたいな書き方ってできなかったっけ?