summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-09-29 23:36:42 (GMT)
committerGuido van Rossum <guido@python.org>1997-09-29 23:36:42 (GMT)
commitf57c17034aa14945e93412d56cfbce1f65b1c815 (patch)
treeae2ff97043ecd38027e454ec04789cb1310d746e /PC
parentff8c9dab1926d5f0078be434d24a32576953bd6f (diff)
downloadcpython-f57c17034aa14945e93412d56cfbce1f65b1c815.zip
cpython-f57c17034aa14945e93412d56cfbce1f65b1c815.tar.gz
cpython-f57c17034aa14945e93412d56cfbce1f65b1c815.tar.bz2
Remove #ifdef __cplusplus.
Diffstat (limited to 'PC')
-rw-r--r--PC/config.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/PC/config.h b/PC/config.h
index 48d90a5..026bd6f 100644
--- a/PC/config.h
+++ b/PC/config.h
@@ -1,8 +1,5 @@
#ifndef Py_CONFIG_H
#define Py_CONFIG_H
-#ifdef __cplusplus
-extern "C" {
-#endif
/* config.h. NOT Generated automatically by configure.
@@ -106,6 +103,9 @@ typedef int pid_t;
/* Windows 3.1 will not tolerate any console io in a dll */
#ifdef _USRDLL
#include <time.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
#define stdin ((FILE *)0)
#define stdout ((FILE *)1)
#define stderr ((FILE *)2)
@@ -125,6 +125,9 @@ clock_t clock();
void _exit(int);
void exit(int);
int sscanf(const char *, const char *, ...);
+#ifdef __cplusplus
+}
+#endif
#endif /* _USRDLL */
#ifndef NETSCAPE_PI
/* use sockets, but not in a Netscape dll */
@@ -465,7 +468,4 @@ typedef int pid_t;
/* Define if you have the thread library (-lthread). */
/* #undef HAVE_LIBTHREAD */
-#ifdef __cplusplus
-}
-#endif
#endif /* !Py_CONFIG_H */