Simplify patch.
This commit is contained in:
parent
f5ea2c6355
commit
e69c533945
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6413
2 changed files with 6 additions and 28 deletions
|
@ -1,6 +1,6 @@
|
|||
--- Python/importdl.c.orig Fri Oct 25 16:43:24 1996
|
||||
+++ Python/importdl.c Sat May 3 11:55:20 1997
|
||||
@@ -76,13 +76,18 @@
|
||||
+++ Python/importdl.c Mon May 5 15:43:38 1997
|
||||
@@ -76,7 +76,7 @@
|
||||
#define LONG_EXT "module.sl"
|
||||
#endif
|
||||
|
||||
|
@ -9,18 +9,7 @@
|
|||
#define DYNAMIC_LINK
|
||||
#define USE_SHLIB
|
||||
|
||||
#define dlerror() "error in dynamic linking"
|
||||
#endif
|
||||
|
||||
+#if defined(__FreeBSD__)
|
||||
+#define DYNAMIC_LINK
|
||||
+#define USE_SHLIB
|
||||
+#endif
|
||||
+
|
||||
#ifdef MS_WINDOWS /* i.e. MS_WIN32 or MS_WIN16 */
|
||||
#define DYNAMIC_LINK
|
||||
#include <windows.h>
|
||||
@@ -150,7 +155,7 @@
|
||||
@@ -150,7 +150,7 @@
|
||||
#ifdef USE_SHLIB
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- Python/importdl.c.orig Fri Oct 25 16:43:24 1996
|
||||
+++ Python/importdl.c Sat May 3 11:55:20 1997
|
||||
@@ -76,13 +76,18 @@
|
||||
+++ Python/importdl.c Mon May 5 15:43:38 1997
|
||||
@@ -76,7 +76,7 @@
|
||||
#define LONG_EXT "module.sl"
|
||||
#endif
|
||||
|
||||
|
@ -9,18 +9,7 @@
|
|||
#define DYNAMIC_LINK
|
||||
#define USE_SHLIB
|
||||
|
||||
#define dlerror() "error in dynamic linking"
|
||||
#endif
|
||||
|
||||
+#if defined(__FreeBSD__)
|
||||
+#define DYNAMIC_LINK
|
||||
+#define USE_SHLIB
|
||||
+#endif
|
||||
+
|
||||
#ifdef MS_WINDOWS /* i.e. MS_WIN32 or MS_WIN16 */
|
||||
#define DYNAMIC_LINK
|
||||
#include <windows.h>
|
||||
@@ -150,7 +155,7 @@
|
||||
@@ -150,7 +150,7 @@
|
||||
#ifdef USE_SHLIB
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
|
Loading…
Reference in a new issue