Windows: Use 32-bit time_t on 32-bit builds

This commit is contained in:
Asanka Herath
2010-07-14 01:27:29 -04:00
parent 0f214582d5
commit 7843607a49

View File

@@ -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