Mentions légales du service

Skip to content
Snippets Groups Projects
Commit f9eb9d19 authored by Jens Gustedt's avatar Jens Gustedt
Browse files

don't declare timespec_get as inline if it is provided by the platform

parent b7533993
Branches
Tags orwl-2bb2b05
No related merge requests found
...@@ -1029,6 +1029,8 @@ int p00_timespec_get(struct timespec *p00_ts, int p00_base) { ...@@ -1029,6 +1029,8 @@ int p00_timespec_get(struct timespec *p00_ts, int p00_base) {
} }
} }
#ifndef TIME_UTC
/** /**
** @brief The ::timespec_get function sets the interval pointed to by ** @brief The ::timespec_get function sets the interval pointed to by
** @a p00_ts to hold the current calendar time based on the specified ** @a p00_ts to hold the current calendar time based on the specified
...@@ -1048,8 +1050,6 @@ int p00_timespec_get(struct timespec *p00_ts, int p00_base) { ...@@ -1048,8 +1050,6 @@ int p00_timespec_get(struct timespec *p00_ts, int p00_base) {
p99_inline p99_inline
int timespec_get(struct timespec *p00_ts, int p00_base); int timespec_get(struct timespec *p00_ts, int p00_base);
#ifndef TIME_UTC
enum { enum {
p00_time_base, p00_time_base,
p00_time_utc, p00_time_utc,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment