]> granicus.if.org Git - python/commitdiff
Remove 2 out of 3 __FreeBSD__ tests.
authorGuido van Rossum <guido@python.org>
Mon, 5 May 1997 15:03:26 +0000 (15:03 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 5 May 1997 15:03:26 +0000 (15:03 +0000)
These are no longer needed as of FreeBSD 2.0.5, according to
Thomas Gellekum <tg@ihf.rwth-aachen.de>.

Python/importdl.c

index 605d9a65a7cb340b655ecde78020e3c080671736..33c0e5df0c730c813cf828934b7006839b70926e 100644 (file)
@@ -76,7 +76,7 @@ typedef void (*dl_funcptr)();
 #define LONG_EXT "module.sl"
 #endif 
 
-#if defined(__NetBSD__) || defined(__FreeBSD__)
+#if defined(__NetBSD__)
 #define DYNAMIC_LINK
 #define USE_SHLIB
 
@@ -142,7 +142,7 @@ static void aix_loaderror(char *);
 #ifdef USE_SHLIB
 #include <sys/types.h>
 #include <sys/stat.h>
-#if defined(__NetBSD__) || defined(__FreeBSD__)
+#if defined(__NetBSD__)
 #include <nlist.h>
 #include <link.h>
 #else