aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python15/files/patch-ab
blob: 9ed08036511d955053a49c0c57d4032fbe8298c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
*** Python/importdl.c.orig  Tue Sep 29 12:17:52 1998
--- Python/importdl.c   Tue Sep 29 12:18:40 1998
***************
*** 211,217 ****
  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"
--- 211,217 ----
  extern char *Py_GetProgramName();
  
  #ifndef FUNCNAME_PATTERN
! #if defined(__hp9000s300) || defined(__NetBSD__) || (defined(__FreeBSD__) && !defined(__ELF__)) || defined(__OpenBSD__) || defined(__BORLANDC__)
  #define FUNCNAME_PATTERN "_init%.200s"
  #else
  #define FUNCNAME_PATTERN "init%.200s"