From c0c7c40092102ddf12c51eab44bda0251cf552b8 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 14 Feb 2004 08:26:22 +0000 Subject: [PATCH] cleanup --- stepmania/src/Bookkeeper.cpp | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/stepmania/src/Bookkeeper.cpp b/stepmania/src/Bookkeeper.cpp index 4bd7a7c740..b0bf25e987 100644 --- a/stepmania/src/Bookkeeper.cpp +++ b/stepmania/src/Bookkeeper.cpp @@ -28,29 +28,6 @@ static const CString COINS_DAT = "Data/Coins.dat"; const int COINS_DAT_VERSION = 1; -#if defined(WIN32) // XXX: move to arch_setup.h -#include "RageThreads.h" -struct tm *my_localtime_r( const time_t *timep, struct tm *result ) -{ - static RageMutex mut; - LockMut(mut); - - *result = *localtime( timep ); - return result; -} - -struct tm *my_gmtime_r( const time_t *timep, struct tm *result ) -{ - static RageMutex mut; - LockMut(mut); - - *result = *gmtime( timep ); - return result; -} -#define localtime_r my_localtime_r -#define gmtime_r my_gmtime_r -#endif - tm AddDays( tm start, int iDaysToMove ) { start.tm_mday += iDaysToMove;