diff options
author | horwitz <horwitz@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-03-16 23:28:05 +0000 |
---|---|---|
committer | horwitz <horwitz@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-03-16 23:28:05 +0000 |
commit | ff435f9025256086706ded5608202dd7bba92119 (patch) | |
tree | ea1d4d0ae186344bf845f17f6bf48b351d1cbd49 /navit/sunriset.h | |
parent | 62ecd3f4396d3ba35695356df347611e5364e61b (diff) | |
download | navit-ff435f9025256086706ded5608202dd7bba92119.tar.gz |
Core:Fix:Fix some warnings.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3024 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/sunriset.h')
-rw-r--r-- | navit/sunriset.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/navit/sunriset.h b/navit/sunriset.h index 9df6ca26f..36a770935 100644 --- a/navit/sunriset.h +++ b/navit/sunriset.h @@ -7,7 +7,9 @@ extern long int timezone_offset; #define HOURS(h) ((int)(floor(h))) #define MINUTES(h) ((int)(60*(h-floor(h)))) +#ifndef ABS #define ABS(x) ((x)<0?-(x):(x)) +#endif /* A macro to compute the number of days elapsed since 2000 Jan 0.0 */ /* (which is equal to 1999 Dec 31, 0h UT) */ |