Adapt BLKGETSIZE64 definition to the one found in 2.6 kernels.

(Logical change 1.287)
edge.strict_endians
cantab.net!aia21 2004-02-27 16:44:10 +00:00
parent 25766b3757
commit 7239c1f42b
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@
#define BLKGETSIZE _IO(0x12,96) /* Get device size in 512-byte blocks. */
#endif
#if defined(linux) && defined(_IOR) && !defined(BLKGETSIZE64)
#define BLKGETSIZE64 _IOR(0x12,114,sizeof(u64)) /* Get device size in bytes. */
#define BLKGETSIZE64 _IOR(0x12,114,size_t) /* Get device size in bytes. */
#endif
/**