projects
/
cmccabe-bin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
154c1fc
)
simple_time.c: fix compile for Solaris
author
Colin Patrick McCabe
<cmccabe@alumni.cmu.edu>
Sun, 14 Jul 2013 04:09:12 +0000 (21:09 -0700)
committer
Colin Patrick Mccabe
<cmccabe@alumni.cmu.edu>
Sun, 14 Jul 2013 04:09:39 +0000 (21:09 -0700)
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
simple_time.c
patch
|
blob
|
history
diff --git
a/simple_time.c
b/simple_time.c
index
9bede48
..
0055e1c
100644
(file)
--- a/
simple_time.c
+++ b/
simple_time.c
@@
-1,3
+1,5
@@
+#define _POSIX_PTHREAD_SEMANTICS // needed for Solaris for asctime_r
+
#include <stdio.h>
#include <string.h>
#include <time.h>