summaryrefslogtreecommitdiff
path: root/Python/importdl.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-04-13 15:27:21 +0000
committerGuido van Rossum <guido@python.org>1998-04-13 15:27:21 +0000
commitfaf435ac468080452560acb5d783a30140e7044d (patch)
tree560c6829c284d30266361c7ef28d2d882ed2e619 /Python/importdl.c
parent4d43ee2ff5a79036300966924d3ac50f689b62ca (diff)
downloadcpython-faf435ac468080452560acb5d783a30140e7044d.tar.gz
Support for OpenBSD :-(
Diffstat (limited to 'Python/importdl.c')
-rw-r--r--Python/importdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/importdl.c b/Python/importdl.c
index a0869907d2..7a0de085a5 100644
--- a/Python/importdl.c
+++ b/Python/importdl.c
@@ -211,7 +211,7 @@ typedef void (*dl_funcptr)();
extern char *Py_GetProgramName();
#ifndef FUNCNAME_PATTERN
-#if defined(__hp9000s300) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__BORLANDC__)
+#if defined(__hp9000s300) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__BORLANDC__)
#define FUNCNAME_PATTERN "_init%.200s"
#else
#define FUNCNAME_PATTERN "init%.200s"