comparison util.c @ 468:607bd4491e79

Fix win32 build.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 26 May 2012 07:07:03 +0300
parents 796508f828f6
children ad7ddce47878
comparison
equal deleted inserted replaced
467:4b2f94b1a3c1 468:607bd4491e79
2 * NNChat - Custom chat client for NewbieNudes.com chatrooms 2 * NNChat - Custom chat client for NewbieNudes.com chatrooms
3 * Written by Matti 'ccr' Hämäläinen 3 * Written by Matti 'ccr' Hämäläinen
4 * (C) Copyright 2008-2012 Tecnic Software productions (TNSP) 4 * (C) Copyright 2008-2012 Tecnic Software productions (TNSP)
5 */ 5 */
6 #include "util.h" 6 #include "util.h"
7 #include <time.h>
7 8
8 9
9 BOOL str_get_timestamp(char *str, size_t len, const char *fmt) 10 BOOL str_get_timestamp(char *str, size_t len, const char *fmt)
10 { 11 {
11 time_t stamp = time(NULL); 12 time_t stamp = time(NULL);