File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#ifndef Py_CONFIG_H
22#define Py_CONFIG_H
3- #ifdef __cplusplus
4- extern "C" {
5- #endif
63
74/* config.h. NOT Generated automatically by configure.
85
@@ -106,6 +103,9 @@ typedef int pid_t;
106103/* Windows 3.1 will not tolerate any console io in a dll */
107104#ifdef _USRDLL
108105#include <time.h>
106+ #ifdef __cplusplus
107+ extern "C" {
108+ #endif
109109#define stdin ((FILE *)0)
110110#define stdout ((FILE *)1)
111111#define stderr ((FILE *)2)
@@ -125,6 +125,9 @@ clock_t clock();
125125void _exit (int );
126126void exit (int );
127127int sscanf (const char * , const char * , ...);
128+ #ifdef __cplusplus
129+ }
130+ #endif
128131#endif /* _USRDLL */
129132#ifndef NETSCAPE_PI
130133/* use sockets, but not in a Netscape dll */
@@ -465,7 +468,4 @@ typedef int pid_t;
465468
466469/* Define if you have the thread library (-lthread). */
467470/* #undef HAVE_LIBTHREAD */
468- #ifdef __cplusplus
469- }
470- #endif
471471#endif /* !Py_CONFIG_H */
You can’t perform that action at this time.
0 commit comments