diff options
| author | foobar <sniper@php.net> | 2005-06-16 23:12:10 +0000 |
|---|---|---|
| committer | foobar <sniper@php.net> | 2005-06-16 23:12:10 +0000 |
| commit | a736f99e2f55f70c87f20b8fd109b346d0949da8 (patch) | |
| tree | 33b40ab3ce3e512c7e5cfed1b92b2e2c6a9fc5b7 /ext/date/lib/timelib.h | |
| parent | 7a7cda7a4cac9c2228b88db0b044e5f1eae20a44 (diff) | |
| download | php-git-a736f99e2f55f70c87f20b8fd109b346d0949da8.tar.gz | |
- Improve portability.
# TODO: The standalone lib needs it's own build stuff, pretty much same as
# Zend has for standalone builds.
Diffstat (limited to 'ext/date/lib/timelib.h')
| -rw-r--r-- | ext/date/lib/timelib.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/date/lib/timelib.h b/ext/date/lib/timelib.h index 347c5213d8..53bd5c72f7 100644 --- a/ext/date/lib/timelib.h +++ b/ext/date/lib/timelib.h @@ -18,6 +18,9 @@ /* $Id$ */ +#ifndef __TIMELIB_H__ +#define __TIMELIB_H__ + #include "timelib_structs.h" #define TIMELIB_NONE 0x00 @@ -31,7 +34,6 @@ #define LONG_MIN (- LONG_MAX - 1) #endif - /* From dow.c */ timelib_sll timelib_day_of_week(timelib_sll y, timelib_sll m, timelib_sll d); timelib_sll timelib_daynr_from_weeknr(timelib_sll y, timelib_sll w, timelib_sll d); @@ -71,3 +73,4 @@ void timelib_time_offset_dtor(timelib_time_offset* t); signed long timelib_date_to_int(timelib_time *d, int *error); void timelib_dump_date(timelib_time *d, int options); +#endif |
