Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
1e1fcef7
Commit
1e1fcef7
authored
May 15, 2002
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Back out #555929
parent
b07fa39e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
13 deletions
+24
-13
Include/Python.h
Include/Python.h
+3
-2
Include/pyport.h
Include/pyport.h
+0
-10
configure
configure
+1
-1
configure.in
configure.in
+10
-0
pyconfig.h.in
pyconfig.h.in
+10
-0
No files found.
Include/Python.h
View file @
1e1fcef7
...
...
@@ -22,13 +22,12 @@
#include "patchlevel.h"
#include "pyconfig.h"
#include "pyport.h"
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif
/* pyconfig.h
or pyport.h
may or may not define DL_IMPORT */
/* pyconfig.h may or may not define DL_IMPORT */
#ifndef DL_IMPORT
/* declarations for DLL import/export */
#define DL_IMPORT(RTYPE) RTYPE
#endif
...
...
@@ -60,6 +59,8 @@
*/
#include <assert.h>
#include "pyport.h"
/* Debug-mode build with pymalloc implies PYMALLOC_DEBUG.
* PYMALLOC_DEBUG is in error if pymalloc is not in use.
*/
...
...
Include/pyport.h
View file @
1e1fcef7
...
...
@@ -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 */
...
...
configure
View file @
1e1fcef7
#! /bin/sh
# From configure.in Revision: 1.31
5
.
# From configure.in Revision: 1.31
6
.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53.
#
...
...
configure.in
View file @
1e1fcef7
...
...
@@ -7,6 +7,16 @@ AC_CONFIG_HEADER(pyconfig.h)
# This is for stuff that absolutely must end up in pyconfig.h.
# Please use pyport.h instead, if possible.
AH_BOTTOM([
#ifdef __CYGWIN__
#ifdef USE_DL_IMPORT
#define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
#else
#define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
#endif
#endif
/* Define the macros needed if on a UnixWare 7.x system. */
#if defined(__USLC__) && defined(__SCO_VERSION__)
#define STRICT_SYSV_CURSES /* Don't use ncurses extensions */
...
...
pyconfig.h.in
View file @
1e1fcef7
...
...
@@ -825,6 +825,16 @@
#undef volatile
#ifdef __CYGWIN__
#ifdef USE_DL_IMPORT
#define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
#else
#define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
#endif
#endif
/* Define the macros needed if on a UnixWare 7.x system. */
#if defined(__USLC__) && defined(__SCO_VERSION__)
#define STRICT_SYSV_CURSES /* Don't use ncurses extensions */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment