summaryrefslogtreecommitdiffstats
path: root/Include/pyport.h
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-05-15 18:24:06 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-05-15 18:24:06 (GMT)
commit1e1fcef756dbec60c9062462b46777ffc2a0594e (patch)
tree295afbac597dab65c10fce679260c9347128031f /Include/pyport.h
parentb07fa39edfdae1f7777bb39eceb133f67e8eee62 (diff)
downloadcpython-1e1fcef756dbec60c9062462b46777ffc2a0594e.zip
cpython-1e1fcef756dbec60c9062462b46777ffc2a0594e.tar.gz
cpython-1e1fcef756dbec60c9062462b46777ffc2a0594e.tar.bz2
Back out #555929
Diffstat (limited to 'Include/pyport.h')
-rw-r--r--Include/pyport.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index 5c3e0a9..790c7af 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -384,19 +384,9 @@ extern int fsync(int fd);
extern double hypot(double, double);
#endif
-#ifndef __CYGWIN__
#ifndef DL_IMPORT /* declarations for DLL import */
#define DL_IMPORT(RTYPE) RTYPE
#endif
-#else /* __CYGWIN__ */
-#ifdef USE_DL_IMPORT
-#define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
-#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
-#else /* !USE_DL_IMPORT */
-#define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
-#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
-#endif /* USE_DL_IMPORT */
-#endif /* __CYGWIN__ */
/* If the fd manipulation macros aren't defined,
here is a set that should do the job */