From bda5919f6b793273ab5605c743e6ff63ed6ccf69 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Mon, 3 Jan 2022 22:15:10 -0500 Subject: [PATCH] Windows: MSVC does not support 'restrict' keyword Use of the C99 'restrict' keyword was introduced by be708ca3cf98900c61919f8ff7ced4428b5d1f32 ("gsskrb5: Add simple name attributes support") Change-Id: I8272f595af53741ee7c59750bb2d388faeb01f8f --- windows/NTMakefile.w32 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/NTMakefile.w32 b/windows/NTMakefile.w32 index 47df51042..40e714d8c 100644 --- a/windows/NTMakefile.w32 +++ b/windows/NTMakefile.w32 @@ -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 -- 2.11.4.GIT