]> git.pld-linux.org Git - packages/ppp.git/commitdiff
- use standard __linux__ ifdefs, _linux_ is no longer defined
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 11 Feb 2004 21:58:21 +0000 (21:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ppp-pppoatm.patch -> 1.7

ppp-pppoatm.patch

index 9d6f7fb79ee6c1126dc803e4415ffe7f829f742e..9eba9e6b68d3fe4608c0cb21a6838bc2ab6c6456 100644 (file)
@@ -202,7 +202,7 @@ diff -urN ppp-2.4.1/pppd/plugins/pppoatm.c ppp-2.4.1.ppoatm/pppd/plugins/pppoatm
 +
 +void plugin_init(void)
 +{
-+#if _linux_
++#ifdef __linux__
 +      extern int new_style_driver;    /* From sys-linux.c */
 +#endif
 +      static char *bad_options[] = {
@@ -214,7 +214,7 @@ diff -urN ppp-2.4.1/pppd/plugins/pppoatm.c ppp-2.4.1.ppoatm/pppd/plugins/pppoatm
 +              "xonxoff",
 +              "modem", "local", "sync",
 +              NULL };
-+#if _linux_
++#ifdef __linux__
 +      if ((!ppp_available() && !new_style_driver))
 +              fatal("Kernel doesn't support ppp_generic - "
 +                  "needed for PPPoATM");
This page took 0.088006 seconds and 4 git commands to generate.