summaryrefslogtreecommitdiffstats
path: root/gettext-tools/src/read-properties.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2006-10-31 12:41:52 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:14:17 +0200
commit93f012e908818e29a94125315409f3367997a2fd (patch)
tree7603af64e5d971cff109a7b3704f889017623512 /gettext-tools/src/read-properties.c
parent58197c3268a119eb48bcd1ec0363f7b94f804a24 (diff)
downloadexternal_gettext-93f012e908818e29a94125315409f3367997a2fd.zip
external_gettext-93f012e908818e29a94125315409f3367997a2fd.tar.gz
external_gettext-93f012e908818e29a94125315409f3367997a2fd.tar.bz2
Make it compile in C++ mode.
Diffstat (limited to 'gettext-tools/src/read-properties.c')
-rw-r--r--gettext-tools/src/read-properties.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gettext-tools/src/read-properties.c b/gettext-tools/src/read-properties.c
index fc20c1e..19fa539 100644
--- a/gettext-tools/src/read-properties.c
+++ b/gettext-tools/src/read-properties.c
@@ -44,6 +44,12 @@
#define _(str) gettext (str)
+/* For compiling this file in C++ mode. */
+#ifdef __cplusplus
+# define this thiss
+#endif
+
+
/* The format of the Java .properties files is documented in the JDK
documentation for class java.util.Properties. In the case of .properties
files for PropertyResourceBundle, each non-comment line contains a