Permalink
Browse files

Merge pull request #205 from avalanche123/blksize_t_linux

add blksize_t types for 32 and 64bit linux
  • Loading branch information...
2 parents 8e6dc8c + 91002e4 commit 1613050fe2e583568a4d451f030105b82981ae1f Wayne Meissner committed Jun 26, 2012
@@ -15,6 +15,8 @@ rbx.platform.typedef.__u_quad_t = ulong_long
rbx.platform.typedef.__dev_t = ulong_long
rbx.platform.typedef.__uid_t = uint
rbx.platform.typedef.__gid_t = uint
+rbx.platform.typedef.__in_addr_t = uint
+rbx.platform.typedef.__in_port_t = ushort
rbx.platform.typedef.__ino_t = ulong
rbx.platform.typedef.__ino64_t = ulong_long
rbx.platform.typedef.__mode_t = uint
@@ -34,6 +34,7 @@ rbx.platform.typedef.__swblk_t = long
rbx.platform.typedef.__key_t = int
rbx.platform.typedef.__clockid_t = int
rbx.platform.typedef.__timer_t = pointer
+rbx.platform.typedef.blksize_t = long
rbx.platform.typedef.__blksize_t = long
rbx.platform.typedef.__blkcnt_t = long
rbx.platform.typedef.__blkcnt64_t = long_long
@@ -57,6 +58,8 @@ rbx.platform.typedef.loff_t = long_long
rbx.platform.typedef.ino_t = ulong_long
rbx.platform.typedef.dev_t = ulong_long
rbx.platform.typedef.gid_t = uint
+rbx.platform.typedef.in_addr_t = uint
+rbx.platform.typedef.in_port_t = ushort
rbx.platform.typedef.mode_t = uint
rbx.platform.typedef.nlink_t = uint
rbx.platform.typedef.uid_t = uint
@@ -15,6 +15,8 @@ rbx.platform.typedef.__u_quad_t = ulong
rbx.platform.typedef.__dev_t = ulong
rbx.platform.typedef.__uid_t = uint
rbx.platform.typedef.__gid_t = uint
+rbx.platform.typedef.__in_addr_t = uint
+rbx.platform.typedef.__in_port_t = ushort
rbx.platform.typedef.__ino_t = ulong
rbx.platform.typedef.__ino64_t = ulong
rbx.platform.typedef.__mode_t = uint
@@ -34,7 +34,7 @@ rbx.platform.typedef.__swblk_t = long
rbx.platform.typedef.__key_t = int
rbx.platform.typedef.__clockid_t = int
rbx.platform.typedef.__timer_t = pointer
-rbx.platform.typedef.__blksize_t = long
+rbx.platform.typedef.blksize_t = long
rbx.platform.typedef.__blkcnt_t = long
rbx.platform.typedef.__blkcnt64_t = long
rbx.platform.typedef.__fsblkcnt_t = ulong
@@ -57,6 +57,8 @@ rbx.platform.typedef.loff_t = long
rbx.platform.typedef.ino_t = ulong
rbx.platform.typedef.dev_t = ulong
rbx.platform.typedef.gid_t = uint
+rbx.platform.typedef.in_addr_t = uint
+rbx.platform.typedef.in_port_t = ushort
rbx.platform.typedef.mode_t = uint
rbx.platform.typedef.nlink_t = ulong
rbx.platform.typedef.uid_t = uint

0 comments on commit 1613050

Please sign in to comment.