Changeset d8023cde60406013265bdd5aaa6ab69b352b5de2

Show
Ignore:
Timestamp:
05/07/08 18:11:19 (2 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1210176679 +0300
git-parent:

[d8c68f7f9c768f881d6e7d1b9372cf709d1a6e52]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1210176679 +0300
Message:

Provide gmtime_r

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • include/vlc_fixups.h

    rbeee322 rd8023cd  
    120120    return result; 
    121121} 
     122static inline struct tm *gmtime_r (const time_t *timep, struct tm *result) 
     123{ 
     124    struct tm *s = gmtime (timep); 
     125    if (s == NULL) 
     126        return NULL; 
     127 
     128    *result = *s; 
     129    return result; 
     130} 
    122131#endif 
    123132