Revision: 9724 https://osdn.net/projects/ttssh2/scm/svn/commits/9724 Author: zmatsuo Date: 2022-02-06 02:46:06 +0900 (Sun, 06 Feb 2022) Log Message: ----------- Microsoft SAL が MSC 以外に入っていたので削除 - time_t を使用しているので time.h を include に追加 Modified Paths: -------------- trunk/teraterm/common/ttlib.h -------------- next part -------------- Modified: trunk/teraterm/common/ttlib.h =================================================================== --- trunk/teraterm/common/ttlib.h 2022-02-05 17:45:56 UTC (rev 9723) +++ trunk/teraterm/common/ttlib.h 2022-02-05 17:46:06 UTC (rev 9724) @@ -29,6 +29,8 @@ /* useful routines */ +#include <time.h> // for time_t + #pragma once #include "i18n.h" @@ -108,7 +110,7 @@ DllExport void OutputDebugPrintf(_Printf_format_string_ const char *fmt, ...); void OutputDebugPrintfW(_Printf_format_string_ const wchar_t *fmt, ...); #elif defined(__GNUC__) -DllExport void OutputDebugPrintf(_Printf_format_string_ const char *fmt, ...) __attribute__ ((format (printf, 1, 2))); +DllExport void OutputDebugPrintf(const char *fmt, ...) __attribute__ ((format (printf, 1, 2))); void OutputDebugPrintfW(const wchar_t *fmt, ...); // __attribute__ ((format (wprintf, 1, 2))); #else DllExport void OutputDebugPrintf(const char *fmt, ...);