mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
r25619: As perhaps could have been expected, the CFLAGS hack broke all non-gcc
compilers. Instead, as jelmer suggests, remove the depricated marker on fstring, for as long as it is used in the samba3 winbind protocol. Andrew Bartlett
This commit is contained in:
parent
b7e4b4f95c
commit
b15df834ae
@ -31,7 +31,7 @@
|
|||||||
#define FSTRING_LEN 256
|
#define FSTRING_LEN 256
|
||||||
|
|
||||||
_DEPRECATED_ typedef char pstring[PSTRING_LEN];
|
_DEPRECATED_ typedef char pstring[PSTRING_LEN];
|
||||||
_DEPRECATED_ typedef char fstring[FSTRING_LEN];
|
typedef char fstring[FSTRING_LEN];
|
||||||
|
|
||||||
#define pstrcpy(d,s) safe_strcpy((d),(s),sizeof(pstring)-1)
|
#define pstrcpy(d,s) safe_strcpy((d),(s),sizeof(pstring)-1)
|
||||||
#define pstrcat(d,s) safe_strcat((d),(s),sizeof(pstring)-1)
|
#define pstrcat(d,s) safe_strcat((d),(s),sizeof(pstring)-1)
|
||||||
|
@ -4,7 +4,6 @@ SO_VERSION = 0
|
|||||||
DESCRIPTION = Client library for communicating with winbind
|
DESCRIPTION = Client library for communicating with winbind
|
||||||
OBJ_FILES = wb_common.o
|
OBJ_FILES = wb_common.o
|
||||||
PRIVATE_DEPENDENCIES = SOCKET_WRAPPER
|
PRIVATE_DEPENDENCIES = SOCKET_WRAPPER
|
||||||
CFLAGS = -Wno-deprecated-declarations
|
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# Start BINARY nsstest
|
# Start BINARY nsstest
|
||||||
|
Loading…
Reference in New Issue
Block a user