diff options
author | Björn-Egil Dahlberg <[email protected]> | 2011-08-09 17:38:47 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2011-12-02 15:41:13 +0100 |
commit | 82c79cc3b00175ac3ff6f892736c95fe3b00ea06 (patch) | |
tree | 2257afa6d68e0a4433684f6fcbe5523148925cfa /erts/emulator/beam/erl_time_sup.c | |
parent | c489db32a796be2d7de7a683544c333a77d917b8 (diff) | |
download | otp-82c79cc3b00175ac3ff6f892736c95fe3b00ea06.tar.gz otp-82c79cc3b00175ac3ff6f892736c95fe3b00ea06.tar.bz2 otp-82c79cc3b00175ac3ff6f892736c95fe3b00ea06.zip |
Teach erlang about the times before 1970
Diffstat (limited to 'erts/emulator/beam/erl_time_sup.c')
-rw-r--r-- | erts/emulator/beam/erl_time_sup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_time_sup.c b/erts/emulator/beam/erl_time_sup.c index 4d1e1c8a59..bc09ba8001 100644 --- a/erts/emulator/beam/erl_time_sup.c +++ b/erts/emulator/beam/erl_time_sup.c @@ -583,7 +583,7 @@ static const int mdays[14] = {0, 31, 28, 31, 30, 31, 30, (((y) % 100) != 0)) || \ (((y) % 400) == 0)) -#define BASEYEAR 1970 +#define BASEYEAR INT_MIN /* * gregday |