--- tidy/lib.py	Tue Feb 24 08:12:24 2004
+++ tidy/lib.py.new	Sat May  8 01:31:20 2004
@@ -25,7 +25,7 @@
 for libname in ('cygtidy-0-99-0', 'libtidy', 'libtidy.so',
                 'libtidy-0.99.so.0', 'tidylib'):
     try:
-        thelib = getattr(ctypes.cdll, libname)
+        thelib = getattr(ctypes.cdll, '__TIDYLIB__' )
         break
     except OSError:
         pass
