gss: Too many compilers don't support 'restrict'
This commit is contained in:
@@ -102,10 +102,10 @@ attr_eq(gss_buffer_t attr, const char *aname, size_t aname_len,
|
|||||||
|
|
||||||
/* Split attribute into prefix, suffix, and fragment. See RFC6680. */
|
/* Split attribute into prefix, suffix, and fragment. See RFC6680. */
|
||||||
static void
|
static void
|
||||||
split_attr(restrict gss_const_buffer_t orig,
|
split_attr(gss_const_buffer_t orig,
|
||||||
restrict gss_buffer_t prefix,
|
gss_buffer_t prefix,
|
||||||
restrict gss_buffer_t attr,
|
gss_buffer_t attr,
|
||||||
restrict gss_buffer_t frag,
|
gss_buffer_t frag,
|
||||||
int *is_urn)
|
int *is_urn)
|
||||||
{
|
{
|
||||||
char *last = NULL;
|
char *last = NULL;
|
||||||
|
@@ -160,7 +160,7 @@ pthreadinc= -I$(PTHREAD_INC)
|
|||||||
# Build options
|
# Build options
|
||||||
|
|
||||||
cincdirs=$(cincdirs) -I$(INCDIR) -I$(INCDIR)\krb5 $(pthreadinc)
|
cincdirs=$(cincdirs) -I$(INCDIR) -I$(INCDIR)\krb5 $(pthreadinc)
|
||||||
cdefines=$(cdefines) -DHAVE_CONFIG_H -Drestrict=
|
cdefines=$(cdefines) -DHAVE_CONFIG_H
|
||||||
# Windows CNG provider
|
# Windows CNG provider
|
||||||
cdefines=$(cdefines) -DHCRYPTO_DEF_PROVIDER=w32crypto
|
cdefines=$(cdefines) -DHCRYPTO_DEF_PROVIDER=w32crypto
|
||||||
cdebug=$(cdebug) /Zi
|
cdebug=$(cdebug) /Zi
|
||||||
|
Reference in New Issue
Block a user