dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
26f6997
)
Portability fix: don't use __BEGIN_DECLS and __END_DECLS
author
Peter Verthez
<Peter.Verthez@advalvas.be>
Sat, 28 Sep 2002 17:45:35 +0000
(17:45 +0000)
committer
Peter Verthez
<Peter.Verthez@advalvas.be>
Sat, 28 Sep 2002 17:45:35 +0000
(17:45 +0000)
utf8/utf8-locale.h
patch
|
blob
|
history
diff --git
a/utf8/utf8-locale.h
b/utf8/utf8-locale.h
index ffe974ba9b2edde400fad28a2fcc7a445279fd5d..b8a752b621cbcfd18afebcafd1cb46cc3b2a92d6 100644
(file)
--- a/
utf8/utf8-locale.h
+++ b/
utf8/utf8-locale.h
@@
-12,14
+12,16
@@
#ifndef __UTF8_LOCALE_H
#define __UTF8_LOCALE_H
#ifndef __UTF8_LOCALE_H
#define __UTF8_LOCALE_H
-#i
nclude <features.h>
-
-__BEGIN_DECLS
+#i
fdef __cplusplus
+extern "C" {
+#endif
void convert_set_unknown(const char* unknown);
void convert_set_unknown(const char* unknown);
-char* convert_utf8_to_locale(char* input, int *conv_fails);
-char* convert_locale_to_utf8(char* input);
+char* convert_utf8_to_locale(c
onst c
har* input, int *conv_fails);
+char* convert_locale_to_utf8(c
onst c
har* input);
-__END_DECLS
+#ifdef __cplusplus
+}
+#endif
#endif /* __UTF8_LOCALE_H */
#endif /* __UTF8_LOCALE_H */