summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-04-13 15:27:21 (GMT)
committerGuido van Rossum <guido@python.org>1998-04-13 15:27:21 (GMT)
commit1f7401673588056747810fe4df23c847f4319f83 (patch)
treeae722c8295c52b244bbd02ac6910614366c6f54b /Python
parent3ad125e6119f80596b15d3663249b8a15254811b (diff)
downloadcpython-1f7401673588056747810fe4df23c847f4319f83.zip
cpython-1f7401673588056747810fe4df23c847f4319f83.tar.gz
cpython-1f7401673588056747810fe4df23c847f4319f83.tar.bz2
Support for OpenBSD :-(
Diffstat (limited to 'Python')
-rw-r--r--Python/importdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/importdl.c b/Python/importdl.c
index a086990..7a0de08 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"