[uim-commit] r1434 - trunk/xim
yamamoto at freedesktop.org
yamamoto at freedesktop.org
Mon Sep 5 11:06:32 PDT 2005
Author: yamamoto
Date: 2005-09-05 11:06:28 -0700 (Mon, 05 Sep 2005)
New Revision: 1434
Modified:
trunk/xim/connection.cpp
Log:
* typedef sig_t if it doesn't exist to compile on Solaris.
Modified: trunk/xim/connection.cpp
===================================================================
--- trunk/xim/connection.cpp 2005-09-05 18:01:01 UTC (rev 1433)
+++ trunk/xim/connection.cpp 2005-09-05 18:06:28 UTC (rev 1434)
@@ -52,6 +52,10 @@
#define TRANSPORT_UNIT 20
#define TRANSPORT_MAX 20 // Emacs's XIM won't work correctly when the value is 100
+#ifndef HAVE_SIG_T
+typedef void (*sig_t)(int);
+#endif
+
extern char *xim_packet_name[];
static std::map<Window, XConnection *> gXConnections;
More information about the uim-commit
mailing list