[Python-Dev] posix module

Fred L. Drake, Jr. fdrake@acm.org
Mon, 20 Dec 1999 13:52:41 -0500 (EST)


Fredrik Lundh writes:
 > (current CVS stuff, on Red Hat 5.2)

  Ok, Guido figured it out; this is a typo in the header
/usr/include/confname.h; the enum and the #define don't have the same
name.
  Do you know a way to detect the Linux kernel version using
pre-preprocessor macros?  (Seems very fragile.)  Would it be
reasonable to only add that table entry for kernel versions >= 2.2?


  -Fred

--
Fred L. Drake, Jr.	     <fdrake@acm.org>
Corporation for National Research Initiatives