]> The Tcpdump Group git mirrors - libpcap/blobdiff - optimize.c
remove additional ifdefs based upon MSDOS
[libpcap] / optimize.c
index 6adcbc1233edf9beb0d30f116679c5b8a6104f72..f22a092d0099a20d2b39e14ddf760cfbf1674597 100644 (file)
@@ -141,22 +141,6 @@ lowest_set_bit(int mask)
                abort();        /* mask is zero */
        return (u_int)bit;
 }
-#elif (defined(MSDOS) && defined(__WATCOMC__)) || defined(STRINGS_H_DECLARES_FFS)
-  /*
-   * MS-DOS with Watcom C, which has <strings.h> and declares ffs() there,
-   * or some other platform (UN*X conforming to a sufficient recent version
-   * of the Single UNIX Specification).
-   */
-  #include <strings.h>
-  #define lowest_set_bit(mask) (u_int)((ffs((mask)) - 1))
-#elif (defined(MSDOS) && defined(__DJGPP__)) || defined(__hpux)
-  /*
-   * MS-DOS with DJGPP or HP-UX 11i v3, which declare ffs() in <string.h>,
-   * which we've already included.  Place this branch after the <strings.h>
-   * branch, in case a later release of HP-UX makes the declaration available
-   * via the standard header.
-   */
-  #define lowest_set_bit(mask) ((u_int)(ffs((mask)) - 1))
 #else
 /*
  * None of the above.