[uim-commit] r2964 - trunk/xim
ekato at freedesktop.org
ekato at freedesktop.org
Sun Jan 22 02:13:13 PST 2006
Author: ekato
Date: 2006-01-22 02:13:07 -0800 (Sun, 22 Jan 2006)
New Revision: 2964
Modified:
trunk/xim/canddisp.cpp
trunk/xim/helper.cpp
trunk/xim/locale.cpp
trunk/xim/main.cpp
trunk/xim/ximserver.cpp
Log:
* xim/locale.cpp
* xim/helper.cpp
* xim/main.cpp
* xim/canddisp.cpp
- Enclose #define _GNU_SOURCE.
Modified: trunk/xim/canddisp.cpp
===================================================================
--- trunk/xim/canddisp.cpp 2006-01-22 08:56:26 UTC (rev 2963)
+++ trunk/xim/canddisp.cpp 2006-01-22 10:13:07 UTC (rev 2964)
@@ -30,7 +30,9 @@
SUCH DAMAGE.
*/
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE // for asprintf on stdio.h with old glibc/gcc
+#endif
#ifdef HAVE_CONFIG_H
# include "config.h"
Modified: trunk/xim/helper.cpp
===================================================================
--- trunk/xim/helper.cpp 2006-01-22 08:56:26 UTC (rev 2963)
+++ trunk/xim/helper.cpp 2006-01-22 10:13:07 UTC (rev 2964)
@@ -32,7 +32,9 @@
// uim-helper connection
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE // for asprintf on stdio.h with old glibc/gcc
+#endif
#ifdef HAVE_CONFIG_H
# include "config.h"
Modified: trunk/xim/locale.cpp
===================================================================
--- trunk/xim/locale.cpp 2006-01-22 08:56:26 UTC (rev 2963)
+++ trunk/xim/locale.cpp 2006-01-22 10:13:07 UTC (rev 2964)
@@ -32,7 +32,9 @@
// Locale dependent routines
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE // for asprintf on stdio.h with old glibc/gcc
+#endif
#ifdef HAVE_CONFIG_H
# include "config.h"
Modified: trunk/xim/main.cpp
===================================================================
--- trunk/xim/main.cpp 2006-01-22 08:56:26 UTC (rev 2963)
+++ trunk/xim/main.cpp 2006-01-22 10:13:07 UTC (rev 2964)
@@ -33,7 +33,9 @@
// XIM Server supporting CJK languages
// initialize many modules
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE // for asprintf on stdio.h with old glibc/gcc
+#endif
#ifdef HAVE_CONFIG_H
# include "config.h"
Modified: trunk/xim/ximserver.cpp
===================================================================
--- trunk/xim/ximserver.cpp 2006-01-22 08:56:26 UTC (rev 2963)
+++ trunk/xim/ximserver.cpp 2006-01-22 10:13:07 UTC (rev 2964)
@@ -30,7 +30,9 @@
SUCH DAMAGE.
*/
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE // for asprintf on stdio.h with old glibc/gcc
+#endif
#ifdef HAVE_CONFIG_H
# include "config.h"
More information about the uim-commit
mailing list