[Groonga-commit] groonga/groonga at 4aea1a7 [master] grn.h msvc: really fix typedef for MSVC

Zurück zum Archiv-Index

Hiroshi Hatake null+****@clear*****
Sat Nov 22 22:13:22 JST 2014


Hiroshi Hatake	2014-11-22 22:13:22 +0900 (Sat, 22 Nov 2014)

  New Revision: 4aea1a7a781484dc40a09ce4520526dc44faa8ce
  https://github.com/groonga/groonga/commit/4aea1a7a781484dc40a09ce4520526dc44faa8ce

  Merged 6d2d6a9: Merge pull request #247 from cosmo0920/fix-typedef-for-msvc

  Message:
    grn.h msvc: really fix typedef for MSVC

  Modified files:
    lib/grn.h

  Modified: lib/grn.h (+13 -13)
===================================================================
--- lib/grn.h    2014-11-22 17:25:19 +0900 (2cd6240)
+++ lib/grn.h    2014-11-22 22:13:22 +0900 (38c9d35)
@@ -136,19 +136,19 @@
 # ifdef __GNUC__
 #  include <stdint.h>
 # else
-typedef uint8_t UINT8;
-typedef int8_t INT8;
-typedef int_least8_t INT8;
-typedef uint_least8_t UINT8;
-typedef int16_t INT16;
-typedef uint16_t UINT16;
-typedef int32_t INT32;
-typedef uint32_t UINT32;
-typedef int64_t INT64;
-typedef uint64_t UINT64;
-typedef ssize_t SSIZE_T;
-typedef pid_t int;
-typedef off64_t int64_t;
+typedef UINT8 uint8_t;
+typedef INT8 int8_t;
+typedef INT8 int_least8_t;
+typedef UINT8 uint_least8_t;
+typedef INT16 int16_t;
+typedef UINT16 uint16_t;
+typedef INT32 int32_t;
+typedef UINT32 uint32_t;
+typedef INT64 int64_t;
+typedef UINT64 uint64_t;
+typedef SSIZE_T ssize_t;
+typedef int pid_t;
+typedef int64_t off64_t;
 # endif
 
 # undef MSG_WAITALL
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index