aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2011-08-09 17:38:47 +0200
committerBjörn-Egil Dahlberg <[email protected]>2011-12-02 15:41:13 +0100
commit82c79cc3b00175ac3ff6f892736c95fe3b00ea06 (patch)
tree2257afa6d68e0a4433684f6fcbe5523148925cfa /erts/emulator
parentc489db32a796be2d7de7a683544c333a77d917b8 (diff)
downloadotp-82c79cc3b00175ac3ff6f892736c95fe3b00ea06.tar.gz
otp-82c79cc3b00175ac3ff6f892736c95fe3b00ea06.tar.bz2
otp-82c79cc3b00175ac3ff6f892736c95fe3b00ea06.zip
Teach erlang about the times before 1970
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/beam/erl_time_sup.c2
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