--- bigloo4.1a/runtime/Clib/cdate.c	2014-02-14 16:27:39 -0500
+++ bigloo4.1a_mod/runtime/Clib/cdate.c	2014-02-14 16:28:11 -0500
@@ -8,8 +8,12 @@
 /*    -------------------------------------------------------------    */
 /*    C implementation of time & date                                  */
 /*=====================================================================*/
+
 #include <string.h>
 #include <bigloo.h>
+#if defined( _MSC_VER) || defined( _MINGW_VER )
+#define _USE_32BIT_TIME_T 1
+#endif
 #include <time.h>
 #include <ctype.h>
 #include <sys/time.h>
@@ -135,7 +139,8 @@
 /*---------------------------------------------------------------------*/
 BGL_RUNTIME_DEF long
 bgl_current_seconds() {
-   return (long)( time( 0L ) );
+  time_t *timer = NULL;
+   return (long)( time( timer ) );
 }
 
 /*---------------------------------------------------------------------*/
