• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

The MinGW.org Windows System Libraries


コミットメタ情報

リビジョンc2693c327b019dde40d2331c330ec7a1de20a2b6 (tree)
日時2013-06-08 07:47:09
作者Jan Nitjmans <nijtmans@user...>
コミッターEarnie Boyd

ログメッセージ

include/time.h: Correct typos. Add MSVCRT_VERSION >= 800 guard for _CRTALIAS of _wctime.

変更サマリ

差分

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
1+2013-06-07 Jan Nijtmans <nijtmans@users.sourceforge.net>
2+
3+ * include/time.h: Correct typos. Add MSVCRT_VERSION >= 800 guard for
4+ _CRTALIAS of _wctime.
5+
16 2013-06-05 Mark <mabrand@users.sourceforge.net>
27
38 * include/shlobj.h (SHGetFolderPath): Correct typo for UNICODE define.
--- a/include/time.h
+++ b/include/time.h
@@ -247,21 +247,27 @@ __MINGW_IMPORT char *tzname[2];
247247 _CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _wasctime(const struct tm*);
248248 _CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _wstrdate(wchar_t*);
249249 _CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _wstrtime(wchar_t*);
250-_CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _wctime(const time_t*);
251-_CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _wctime64 (const __time64_t*);
252-#ifdef MSVCRT_VERSION >= 800
253-_CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _wctime32 (const __time32_t*);
250+_CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _wctime64(const __time64_t*);
251+#if MSVCRT_VERSION >= 800
252+_CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _wctime32(const __time32_t*);
254253 #else
255-_CRTALIAS whcar_t* __cdecl __MINGW_NOTHROW _wctime32 (const __time32_t* _v) {
254+_CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _wctime(const time_t*);
255+_CRTALIAS wchar_t* __cdecl __MINGW_NOTHROW _wctime32(const __time32_t* _v) {
256256 return(_wctime((time_t)_v));
257257 }
258258 #endif /* MSVCRT_VERSION >= 800 */
259259
260260 #ifdef _USE_32BIT_TIME_T
261-_CRTALIAS wchar_t* __cdecl __MINGW_NOTHROW _wctime (const time_t* _v) { return(_wctime32 (_v)); }
262-#else
263-_CRTALIAS wchar_t* __cdecl __MINGW_NOTHROW _wctime (const time_t* _v) { return(_wctime64 (_v)); }
261+#if MSVCRT_VERSION >= 800
262+_CRTALIAS wchar_t* __cdecl __MINGW_NOTHROW _wctime (const time_t* _v) {
263+ return(_wctime32 (_v));
264+}
264265 #endif
266+#else /* ndef _USE_32BIT_TIME_T */
267+_CRTALIAS wchar_t* __cdecl __MINGW_NOTHROW _wctime (const time_t* _v) {
268+ return(_wctime64 (_v));
269+}
270+#endif /* def _USE_32BIT_TIME_T */
265271
266272 #endif /* __STRICT_ANSI__ */
267273