Skip to content

Commit

Permalink
Remove historic _RPC_THREAD_SAFE_ preprocessor conditional
Browse files Browse the repository at this point in the history
When the code was imported from glibc, the -D_RPC_THREAD_SAFE_
build flag was missed.
  • Loading branch information
fweimer-rh committed Mar 27, 2018
1 parent ac22723 commit ce0ed4f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions rpcgen/rpc_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1346,15 +1346,6 @@ parseargs (int argc, const char *argv[], struct commandline *cmd)
cmd->Scflag = flag['C'];
cmd->makefileflag = flag['M'];

#ifndef _RPC_THREAD_SAFE_
if (mtflag || newstyle)
{
/* glibc doesn't support these flags. */
f_print (stderr,
_("This implementation doesn't support newstyle or MT-safe code!\n"));
return (0);
}
#endif
if (tirpcflag)
{
pmflag = inetdflag ? 0 : 1; /* pmflag or inetdflag is always TRUE */
Expand Down

0 comments on commit ce0ed4f

Please sign in to comment.