Commit f57c1703 authored by Guido van Rossum's avatar Guido van Rossum

Remove #ifdef __cplusplus.

parent ff8c9dab
#ifndef Py_CONFIG_H #ifndef Py_CONFIG_H
#define Py_CONFIG_H #define Py_CONFIG_H
#ifdef __cplusplus
extern "C" {
#endif
/* config.h. NOT Generated automatically by configure. /* config.h. NOT Generated automatically by configure.
...@@ -106,6 +103,9 @@ typedef int pid_t; ...@@ -106,6 +103,9 @@ typedef int pid_t;
/* Windows 3.1 will not tolerate any console io in a dll */ /* Windows 3.1 will not tolerate any console io in a dll */
#ifdef _USRDLL #ifdef _USRDLL
#include <time.h> #include <time.h>
#ifdef __cplusplus
extern "C" {
#endif
#define stdin ((FILE *)0) #define stdin ((FILE *)0)
#define stdout ((FILE *)1) #define stdout ((FILE *)1)
#define stderr ((FILE *)2) #define stderr ((FILE *)2)
...@@ -125,6 +125,9 @@ clock_t clock(); ...@@ -125,6 +125,9 @@ clock_t clock();
void _exit(int); void _exit(int);
void exit(int); void exit(int);
int sscanf(const char *, const char *, ...); int sscanf(const char *, const char *, ...);
#ifdef __cplusplus
}
#endif
#endif /* _USRDLL */ #endif /* _USRDLL */
#ifndef NETSCAPE_PI #ifndef NETSCAPE_PI
/* use sockets, but not in a Netscape dll */ /* use sockets, but not in a Netscape dll */
...@@ -465,7 +468,4 @@ typedef int pid_t; ...@@ -465,7 +468,4 @@ typedef int pid_t;
/* Define if you have the thread library (-lthread). */ /* Define if you have the thread library (-lthread). */
/* #undef HAVE_LIBTHREAD */ /* #undef HAVE_LIBTHREAD */
#ifdef __cplusplus
}
#endif
#endif /* !Py_CONFIG_H */ #endif /* !Py_CONFIG_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment