Windows: MSVC does not support 'restrict' keyword

Use of the C99 'restrict' keyword was introduced by
be708ca3cf
("gsskrb5: Add simple name attributes support")

Change-Id: I8272f595af53741ee7c59750bb2d388faeb01f8f
This commit is contained in:
Jeffrey Altman
2022-01-03 22:15:10 -05:00
parent 466658e929
commit bda5919f6b

View File

@@ -160,7 +160,7 @@ pthreadinc= -I$(PTHREAD_INC)
# Build options
cincdirs=$(cincdirs) -I$(INCDIR) -I$(INCDIR)\krb5 $(pthreadinc)
cdefines=$(cdefines) -DHAVE_CONFIG_H
cdefines=$(cdefines) -DHAVE_CONFIG_H -Drestrict=
# Windows CNG provider
cdefines=$(cdefines) -DHCRYPTO_DEF_PROVIDER=w32crypto
cdebug=$(cdebug) /Zi