From 7843607a499664ec739452d33145fcda61764003 Mon Sep 17 00:00:00 2001 From: Asanka Herath Date: Wed, 14 Jul 2010 01:27:29 -0400 Subject: [PATCH] Windows: Use 32-bit time_t on 32-bit builds --- windows/NTMakefile.w32 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/windows/NTMakefile.w32 b/windows/NTMakefile.w32 index f06dd6fed..9d3f2a903 100644 --- a/windows/NTMakefile.w32 +++ b/windows/NTMakefile.w32 @@ -138,6 +138,13 @@ pthreadinc= -I$(PTHREAD_INC) cincdirs=$(cincdirs) -I$(INCDIR) -I$(INCDIR)\krb5 $(pthreadinc) cdefines=$(cdefines) -DHAVE_CONFIG_H +# --------------------------------------------------------------- +# time_t issues + +!if "$(MCPU)"=="x86" +cdefines=$(cdefines) -D_USE_32BIT_TIME_T +!endif + # Disable warnings: # # C4996: 'function' was declared deprecated