diff options
author | Jason Tishler <jason@tishler.net> | 2004-08-09 15:02:30 (GMT) |
---|---|---|
committer | Jason Tishler <jason@tishler.net> | 2004-08-09 15:02:30 (GMT) |
commit | 0d2a75c7b867fca895ac420db3585297c51864c7 (patch) | |
tree | 535d6154a35baa65c940d8f8be28cf408fc64456 | |
parent | 7f203b847b727ca36f05f75b53801f43bd02c5d8 (diff) | |
download | cpython-0d2a75c7b867fca895ac420db3585297c51864c7.zip cpython-0d2a75c7b867fca895ac420db3585297c51864c7.tar.gz cpython-0d2a75c7b867fca895ac420db3585297c51864c7.tar.bz2 |
Patch #1006003: Cygwin standard module build problems
Add missing PyAPI_FUNC/PyAPI_DATA macros.
-rw-r--r-- | Include/pystrtod.h | 6 | ||||
-rw-r--r-- | Include/pythonrun.h | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/Include/pystrtod.h b/Include/pystrtod.h index e4e5e52..5314f26 100644 --- a/Include/pystrtod.h +++ b/Include/pystrtod.h @@ -6,9 +6,9 @@ extern "C" { #endif -double PyOS_ascii_strtod(const char *str, char **ptr); -double PyOS_ascii_atof(const char *str); -char * PyOS_ascii_formatd(char *buffer, int buf_len, const char *format, double d); +PyAPI_FUNC(double) PyOS_ascii_strtod(const char *str, char **ptr); +PyAPI_FUNC(double) PyOS_ascii_atof(const char *str); +PyAPI_FUNC(char *) PyOS_ascii_formatd(char *buffer, int buf_len, const char *format, double d); #ifdef __cplusplus diff --git a/Include/pythonrun.h b/Include/pythonrun.h index 746ba7e..88ceea3 100644 --- a/Include/pythonrun.h +++ b/Include/pythonrun.h @@ -121,6 +121,7 @@ PyAPI_FUNC(void) PyOS_FiniInterrupts(void); PyAPI_FUNC(char *) PyOS_Readline(FILE *, FILE *, char *); PyAPI_DATA(int) (*PyOS_InputHook)(void); PyAPI_DATA(char) *(*PyOS_ReadlineFunctionPointer)(FILE *, FILE *, char *); +PyAPI_DATA(PyThreadState*) _PyOS_ReadlineTState; /* Stack size, in "pointers" (so we get extra safety margins on 64-bit platforms). On a 32-bit platform, this translates |