summaryrefslogtreecommitdiffstats
path: root/Include/Python.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-12-04 18:48:25 (GMT)
committerGuido van Rossum <guido@python.org>1998-12-04 18:48:25 (GMT)
commit43466ec7b07de6bcad016bec60839cd6079c5a9c (patch)
treeec3bf3e1dfbf9535fa56e153e200f6491f34a6b0 /Include/Python.h
parentb241b67b8954b0679377af00d668e3dc92f4c858 (diff)
downloadcpython-43466ec7b07de6bcad016bec60839cd6079c5a9c.zip
cpython-43466ec7b07de6bcad016bec60839cd6079c5a9c.tar.gz
cpython-43466ec7b07de6bcad016bec60839cd6079c5a9c.tar.bz2
Add DL_IMPORT(returntype) for all officially exported functions.
Diffstat (limited to 'Include/Python.h')
-rw-r--r--Include/Python.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/Python.h b/Include/Python.h
index e97fd6c..9b72d0f 100644
--- a/Include/Python.h
+++ b/Include/Python.h
@@ -41,6 +41,9 @@ PERFORMANCE OF THIS SOFTWARE.
#ifndef DL_IMPORT /* declarations for DLL import/export */
#define DL_IMPORT(RTYPE) RTYPE
#endif
+#ifndef DL_EXPORT /* declarations for DLL import/export */
+#define DL_EXPORT(RTYPE) RTYPE
+#endif
#ifdef SYMANTEC__CFM68K__
#define UsingSharedLibs