[Groonga-commit] groonga/groonga-normalizer-mysql [master] Support inline for VC++

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Apr 2 18:54:56 JST 2013


Kouhei Sutou	2013-04-02 18:54:56 +0900 (Tue, 02 Apr 2013)

  New Revision: 6588f22d3310ca89cf121396e7af0894310f1e7c
  https://github.com/groonga/groonga-normalizer-mysql/commit/6588f22d3310ca89cf121396e7af0894310f1e7c

  Message:
    Support inline for VC++

  Modified files:
    normalizers/mysql.c

  Modified: normalizers/mysql.c (+4 -0)
===================================================================
--- normalizers/mysql.c    2013-04-02 16:27:08 +0900 (a31611b)
+++ normalizers/mysql.c    2013-04-02 18:54:56 +0900 (0a7d511)
@@ -30,6 +30,10 @@
 #  define GNUC_UNUSED
 #endif
 
+#ifdef _MSC_VER
+#  define inline _inline
+#endif
+
 static inline unsigned int
 unichar_to_utf8(uint32_t unichar, char *output)
 {
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index