diff Python/dynload_shlib.c @ 19728:4d2cb6eaa411 legacy-trunk

Patch #455231: Support ELF properly on OpenBSD.
author Martin v. Löwis <martin@v.loewis.de>
date Wed, 05 Sep 2001 14:24:43 +0000
parents 064de84385ca
children bdc486c66df0
line wrap: on
line diff
--- a/Python/dynload_shlib.c	Wed Sep 05 13:44:54 2001 +0000
+++ b/Python/dynload_shlib.c	Wed Sep 05 14:24:43 2001 +0000
@@ -16,7 +16,7 @@
 #endif
 #endif
 
-#ifdef __OpenBSD__
+#if defined(__OpenBSD__) && !defined(__ELF__)
 #define LEAD_UNDERSCORE "_"
 #else
 #define LEAD_UNDERSCORE ""