Skip to content

Commit

Permalink
Merge pull request #3 from fweimer/master
Browse files Browse the repository at this point in the history
Remove historic _RPC_THREAD_SAFE_ preprocessor conditional
  • Loading branch information
thkukuk authored Mar 28, 2018
2 parents ac22723 + ce0ed4f commit abcf24a
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 abcf24a

Please sign in to comment.