OSDN Git Service
(root)
/
stock
/
stock.osdn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
516836a
)
Logger/Logger.h: __linux__ changed to __unix__ to support build on cygwin
author
Pawel Jewstafjew (w)
<Pawel.Jewstafjew@gmail.com>
Mon, 26 Nov 2018 09:51:30 +0000
(09:51 +0000)
committer
Pawel Jewstafjew (w)
<Pawel.Jewstafjew@gmail.com>
Mon, 26 Nov 2018 09:51:30 +0000
(09:51 +0000)
Logger/Logger.h
patch
|
blob
|
history
diff --git
a/Logger/Logger.h
b/Logger/Logger.h
index
0e1c6df
..
52bc4c6
100644
(file)
--- a/
Logger/Logger.h
+++ b/
Logger/Logger.h
@@
-89,14
+89,14
@@
public:
// print time stamp + EOL + flush
virtual void timestamp() {
-#ifndef __
linu
x__
+#ifndef __
uni
x__
struct __timeb64 now;
_ftime64(&now);
#else
struct timeb now;
ftime(&now);
#endif
-#ifndef __
linu
x__
+#ifndef __
uni
x__
char * timeline = _ctime64(&(now.time));
#else
char timeline[30];
@@
-109,7
+109,7
@@
public:
// print "quick" time stamp
virtual void quick_timestamp() {
-#ifndef __
linu
x__
+#ifndef __
uni
x__
struct __timeb64 now;
_ftime64(&now);
#else