aboutsummaryrefslogtreecommitdiff
path: root/libio/libioP.h
diff options
context:
space:
mode:
Diffstat (limited to 'libio/libioP.h')
-rw-r--r--libio/libioP.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/libio/libioP.h b/libio/libioP.h
index 1880e0bbde..66acb93bf4 100644
--- a/libio/libioP.h
+++ b/libio/libioP.h
@@ -28,7 +28,9 @@
#include "iolibio.h"
-__BEGIN_DECLS
+#ifdef __cplusplus
+extern "C" {
+#endif
#define _IO_seek_set 0
#define _IO_seek_cur 1
@@ -477,7 +479,9 @@ extern int _IO_vscanf __P ((const char *, _IO_va_list));
# define _IO_pos_0 ((_IO_fpos_t) 0)
#endif
-__END_DECLS
+#ifdef __cplusplus
+}
+#endif
#ifdef _IO_MTSAFE_IO
/* check following! */