1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-30 20:23:49 +03:00

strchr and strrchr are macros when compiling with optimisation in gcc, so we can't redefine them. damn.

This commit is contained in:
Andrew Tridgell
-
parent debb471267
commit c41fc06376
78 changed files with 276 additions and 278 deletions

View File

@@ -127,7 +127,7 @@ void set_socket_options(int fd, char *options)
char *p;
BOOL got_value = False;
if ((p = strchr(tok,'='))) {
if ((p = strchr_m(tok,'='))) {
*p = 0;
value = atoi(p+1);
got_value = True;