Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
lib
misc
ctime.cc
Go to the documentation of this file.
1
/* ctime.cc
2
*/
3
#include "
osl/misc/ctime.h
"
4
5
const
char
*
osl::ctime_r
(
const
time_t *timep,
char
*buf)
6
{
7
#ifdef _MSC_VER
8
return
"ctime not implemented"
;
9
#elif defined __MINGW32__
10
/* TODO
11
* This ctime() implementation is not good but it would be OK if you do
12
* not debug on MINGW. osl::ctime_r is used for debugging.
13
*/
14
return ::ctime(timep);
15
#else
16
return ::ctime_r
(timep, buf);
17
#endif
18
}
19
20
// ;;; Local Variables:
21
// ;;; mode:c++
22
// ;;; c-basic-offset:2
23
// ;;; End:
Generated on Sun Jul 21 2013 13:37:23 by
1.8.4