[PATCH] libosmocore[master]: core/timer_compat: define CLOCK_BOOTTIME

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

lynxis lazus gerrit-no-reply at lists.osmocom.org
Tue Apr 24 14:26:09 UTC 2018


Review at  https://gerrit.osmocom.org/7906

core/timer_compat: define CLOCK_BOOTTIME

CLOCK_BOOTTIME was introduced with linux 2.6.38.

Change-Id: Ia3d3a829700272ec8e5cf67379d8d85368230726
---
M include/osmocom/core/timer_compat.h
1 file changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/06/7906/1

diff --git a/include/osmocom/core/timer_compat.h b/include/osmocom/core/timer_compat.h
index 8fdd0a0..3119430 100644
--- a/include/osmocom/core/timer_compat.h
+++ b/include/osmocom/core/timer_compat.h
@@ -114,6 +114,9 @@
   } while (0)
 #endif
 
-
+/* CLOCK_BOOTTIME was introduce in linux 2.6.38 */
+#ifndef CLOCK_BOOTTIME
+#define CLOCK_BOOTTIME 7
+#endif
 
 /*! @} */

-- 
To view, visit https://gerrit.osmocom.org/7906
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia3d3a829700272ec8e5cf67379d8d85368230726
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>



More information about the gerrit-log mailing list