fixed wrong eol style for some files
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: time.c 398 2011-03-15 15:20:03Z hyunghwan.chung $
|
||||
* $Id: time.c 400 2011-03-16 08:37:06Z hyunghwan.chung $
|
||||
*
|
||||
Copyright 2006-2009 Chung, Hyung-Hwan.
|
||||
This file is part of QSE.
|
||||
@ -22,8 +22,8 @@
|
||||
#include "mem.h"
|
||||
|
||||
#if defined(_WIN32)
|
||||
# include <windows.h>
|
||||
#elif defined(__OS2__)
|
||||
# include <windows.h>
|
||||
#elif defined(__OS2__)
|
||||
# include <os2.h>
|
||||
#else
|
||||
# include "syscall.h"
|
||||
@ -88,9 +88,9 @@ int qse_gettime (qse_ntime_t* t)
|
||||
if (SystemTimeToFileTime (&st, &ft) == FALSE) return -1;
|
||||
*t = ((qse_ntime_t)(*((qse_int64_t*)&ft)) / (10 * 1000));
|
||||
*t -= EPOCH_DIFF_MSECS;
|
||||
return 0;
|
||||
#elif defined(__OS2__)
|
||||
/* TODO: implement this */
|
||||
return 0;
|
||||
#elif defined(__OS2__)
|
||||
/* TODO: implement this */
|
||||
return -1;
|
||||
#else
|
||||
struct timeval tv;
|
||||
@ -114,9 +114,9 @@ int qse_settime (qse_ntime_t t)
|
||||
*((qse_int64_t*)&ft) = ((t + EPOCH_DIFF_MSECS) * (10 * 1000));
|
||||
if (FileTimeToSystemTime (&ft, &st) == FALSE) return -1;
|
||||
if (SetSystemTime(&st) == FALSE) return -1;
|
||||
return 0;
|
||||
#elif defined(__OS2__)
|
||||
/* TODO: implement this */
|
||||
return 0;
|
||||
#elif defined(__OS2__)
|
||||
/* TODO: implement this */
|
||||
return -1;
|
||||
#else
|
||||
struct timeval tv;
|
||||
@ -224,7 +224,7 @@ int qse_localtime (qse_ntime_t nt, qse_btime_t* bt)
|
||||
|
||||
/* TODO: remove dependency on localtime/localtime_r */
|
||||
#if defined(_WIN32)
|
||||
tm = localtime (&t);
|
||||
tm = localtime (&t);
|
||||
#elif defined(__OS2__)
|
||||
#else
|
||||
struct tm btm;
|
||||
|
Reference in New Issue
Block a user