X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Foptions.c;fp=pppd%2Foptions.c;h=b35c0591eb0e85d20be96a9c639b7497c35a40d3;hb=898d3f4b437ca1348abc1bbd036b0106c66a7ba6;hp=dda3933169a7373e1d598637c6d909d51259feb7;hpb=3604f5c7d9c671dd8a59c8adab14c8f4edd9503e;p=ppp.git diff --git a/pppd/options.c b/pppd/options.c index dda3933..b35c059 100644 --- a/pppd/options.c +++ b/pppd/options.c @@ -54,7 +54,7 @@ #include #include #include -#ifdef PLUGIN +#ifdef PPP_WITH_PLUGINS #include #endif @@ -173,7 +173,7 @@ static int showversion(char **); static int showhelp(char **); static void usage(void); static int setlogfile(char **); -#ifdef PLUGIN +#ifdef PPP_WITH_PLUGINS static int loadplugin(char **); #endif @@ -358,7 +358,7 @@ option_t general_options[] = { "Bundle name for multilink", OPT_PRIO }, #endif /* PPP_WITH_MULTILINK */ -#ifdef PLUGIN +#ifdef PPP_WITH_PLUGINS { "plugin", o_special, (void *)loadplugin, "Load a plug-in module into pppd", OPT_PRIV | OPT_A2LIST }, #endif @@ -1591,7 +1591,7 @@ setmodir(char **argv) } #endif -#ifdef PLUGIN +#ifdef PPP_WITH_PLUGINS static int loadplugin(char **argv) { @@ -1644,7 +1644,7 @@ loadplugin(char **argv) free(path); return 0; } -#endif /* PLUGIN */ +#endif /* PPP_WITH_PLUGINS */ /* * Set an environment variable specified by the user.