]> git.stg.codes - stg.git/blob - stglibs/common.lib/strptime.cpp
Merge branch 'stg-2.409-radius'
[stg.git] / stglibs / common.lib / strptime.cpp
1 /*
2  * $Revision: 1.1 $
3  * $Date: 2007/05/17 08:25:58 $
4  *
5  * This file contain a replacement of commonly used function strptime
6  * Under some OS's it appears only with _XOPEN_SOURCE definition
7  *
8  */
9
10 #define _XOPEN_SOURCE
11 #include <time.h>
12
13 #include "stg/common.h"
14
15 char * stg_strptime(const char * a, const char * b, struct tm * tm)
16 {
17 return strptime(a, b, tm);
18 }
19