Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/include/locale.h')
-rw-r--r--newlib/libc/include/locale.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/newlib/libc/include/locale.h b/newlib/libc/include/locale.h
index ebe1422fe..4718248d8 100644
--- a/newlib/libc/include/locale.h
+++ b/newlib/libc/include/locale.h
@@ -5,6 +5,9 @@
*/
#ifndef _LOCALE_H_
+#ifdef __cplusplus
+extern "C" {
+#endif
#define _LOCALE_H_
#include "_ansi.h"
@@ -21,8 +24,6 @@
#define LC_TIME 5
#define LC_MESSAGES 6
-_BEGIN_STD_C
-
struct lconv
{
char *decimal_point;
@@ -54,6 +55,7 @@ struct _reent;
char *_EXFUN(_setlocale_r,(struct _reent *, int category, const char *locale));
struct lconv *_EXFUN(_localeconv_r,(struct _reent *));
-_END_STD_C
-
+#ifdef __cplusplus
+}
+#endif
#endif /* _LOCALE_H_ */