qemacs-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemacs-commit] qemacs qe.h


From: Charlie Gordon
Subject: [Qemacs-commit] qemacs qe.h
Date: Wed, 16 Sep 2015 21:44:13 +0000

CVSROOT:        /sources/qemacs
Module name:    qemacs
Changes by:     Charlie Gordon <chqrlie>        15/09/16 21:44:13

Modified files:
        .              : qe.h 

Log message:
        fix cpp compilation: use non const typedef

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/qe.h?cvsroot=qemacs&r1=1.209&r2=1.210

Patches:
Index: qe.h
===================================================================
RCS file: /sources/qemacs/qemacs/qe.h,v
retrieving revision 1.209
retrieving revision 1.210
diff -u -b -r1.209 -r1.210
--- qe.h        16 Sep 2015 12:33:36 -0000      1.209
+++ qe.h        16 Sep 2015 21:44:12 -0000      1.210
@@ -539,7 +539,11 @@
 #define MAX_CHAR_BYTES 6
 
 typedef struct CharsetDecodeState CharsetDecodeState;
+#if defined(__cplusplus)
+typedef struct QECharset QECharset;
+#else
 typedef const struct QECharset QECharset;
+#endif
 
 struct QECharset {
     const char *name;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]