mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
enable rep_inet_ntoa() for non-pthread builds
(This used to be commit f50d4b602af73045e5b15d62fd24224eba849fd1)
This commit is contained in:
parent
1abd0be41e
commit
b2b9ea5429
@ -322,7 +322,9 @@ duplicate a string
|
||||
return(ret);
|
||||
}
|
||||
#endif /* HAVE_STRDUP */
|
||||
#if 0 /* REWRITE: not thread safe */
|
||||
|
||||
#ifndef WITH_PTHREADS
|
||||
/* REWRITE: not thread safe */
|
||||
#ifdef REPLACE_INET_NTOA
|
||||
char *rep_inet_ntoa(struct in_addr ip)
|
||||
{
|
||||
@ -334,6 +336,7 @@ char *rep_inet_ntoa(struct in_addr ip)
|
||||
}
|
||||
#endif /* REPLACE_INET_NTOA */
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_STRTOUL
|
||||
#ifndef ULONG_MAX
|
||||
#define ULONG_MAX ((unsigned long)(~0L)) /* 0xFFFFFFFF */
|
||||
|
Loading…
x
Reference in New Issue
Block a user