mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
Fixed BLKGETSIZE IRIX compile error
Moved getdevicesize to Linux only target
This commit is contained in:
+2
-2
@@ -37,9 +37,9 @@ TARGETS = dirstress fill fill2 getpagesize holes lstat64 \
|
||||
nametest permname randholes runas truncfile usemem \
|
||||
mmapcat append_reader append_writer dirperf metaperf \
|
||||
devzero feature alloc fault fstest t_access_root \
|
||||
godown resvtest writemod getdevicesize
|
||||
godown resvtest writemod
|
||||
|
||||
LINUX_TARGETS = loggen xfsctl bstat t_mtab
|
||||
LINUX_TARGETS = loggen xfsctl bstat t_mtab getdevicesize
|
||||
|
||||
ifeq ($(PKG_PLATFORM),linux)
|
||||
TARGETS += $(LINUX_TARGETS)
|
||||
|
||||
@@ -44,9 +44,6 @@
|
||||
#ifndef BLKGETSIZE64
|
||||
# define BLKGETSIZE64 _IOR(0x12,114,size_t)
|
||||
#endif
|
||||
#ifndef BLKSSZGET
|
||||
# define BLKSSZGET _IO(0x12,104)
|
||||
#endif
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user