From b982085b4d1b5611521ffdf3f331ad0a2d4161a0 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 11 Apr 2001 05:42:12 +0000 Subject: If we compile RPC thread safe, allow rpcgen to generate thread safe code. --- sunrpc/rpc_main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sunrpc/rpc_main.c') diff --git a/sunrpc/rpc_main.c b/sunrpc/rpc_main.c index d43b69d..fb5f5f8 100644 --- a/sunrpc/rpc_main.c +++ b/sunrpc/rpc_main.c @@ -1357,6 +1357,7 @@ 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. */ @@ -1364,6 +1365,7 @@ parseargs (int argc, const char *argv[], struct commandline *cmd) _("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 */ -- cgit v1.1