We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab04395 commit d66d6c5Copy full SHA for d66d6c5
1 file changed
ttyplot.c
@@ -281,7 +281,11 @@ int main(int argc, char *argv[]) {
281
mvprintw(height-1, width-sizeof(verstring)/sizeof(char), verstring);
282
283
lt=localtime(&t1);
284
+ #ifdef __sun
285
+ asctime_r(lt, ls, sizeof(ls));
286
+ #else
287
asctime_r(lt, ls);
288
+ #endif
289
mvprintw(height-2, width-strlen(ls), "%s", ls);
290
291
#ifdef _AIX
0 commit comments