diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2016-01-04 20:12:32 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2016-01-04 20:12:32 +0100 |
commit | 966cbb896949b50834709bc1eb9cc75d505e3148 (patch) | |
tree | e7cb23cdc5841b7bdc03a22c754c2b1c09572edd /src/solar.h | |
parent | macros (diff) | |
download | radharc-966cbb896949b50834709bc1eb9cc75d505e3148.tar.gz radharc-966cbb896949b50834709bc1eb9cc75d505e3148.tar.bz2 radharc-966cbb896949b50834709bc1eb9cc75d505e3148.tar.xz |
...
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r-- | src/solar.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/solar.h b/src/solar.h index bb2def5..7afc78f 100644 --- a/src/solar.h +++ b/src/solar.h @@ -93,3 +93,15 @@ */ double solar_elevation(double latitude, double longitude); + +/** + * Exit if time the is before year 0 in J2000. + * + * @return 0 on success, -1 on error. + */ +#if defined(TIMETRAVELLER) +int check_timetravel(void); +#else +# define check_timetravel(_) 0 +#endif + |