git://developer.intra2net.com
/
libi2ncommon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4f1a78c
)
remove unused constants
author
Philipp Gesang
<philipp.gesang@intra2net.com>
Mon, 3 Feb 2020 14:40:37 +0000 (15:40 +0100)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Tue, 4 Feb 2020 14:15:47 +0000 (15:15 +0100)
These have been provided by glibc for ages and are no longer
needed.
src/timefunc.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/timefunc.cpp
b/src/timefunc.cpp
index
6f4ffb5
..
26fbb23
100644
(file)
--- a/
src/timefunc.cpp
+++ b/
src/timefunc.cpp
@@
-43,17
+43,6
@@
on this file might be covered by the GNU General Public License.
#include <i18n.h>
-// define missing POSIX.1b constants...
-
-#ifndef CLOCK_REALTIME
-#define CLOCK_REALTIME 0
-#endif
-#ifndef CLOCK_MONOTONIC
-#define CLOCK_MONOTONIC 1
-#endif
-
-
-
using namespace std;
double prec_time(void)