openbsd-ports/lang/python/patches/patch-ad
1998-01-24 22:33:50 +00:00

20 lines
683 B
Plaintext

*** Python/importdl.c.orig Fri Jan 9 19:10:29 1998
--- Python/importdl.c Fri Jan 9 19:10:59 1998
***************
*** 205,211 ****
extern char *Py_GetProgramName();
#ifndef FUNCNAME_PATTERN
! #if defined(__hp9000s300) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__BORLANDC__)
#define FUNCNAME_PATTERN "_init%.200s"
#else
#define FUNCNAME_PATTERN "init%.200s"
--- 205,211 ----
extern char *Py_GetProgramName();
#ifndef FUNCNAME_PATTERN
! #if defined(__hp9000s300) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__BORLANDC__)
#define FUNCNAME_PATTERN "_init%.200s"
#else
#define FUNCNAME_PATTERN "init%.200s"