Fixed BLKGETSIZE IRIX compile error

Moved getdevicesize to Linux only target
This commit is contained in:
Andrew Jones
2004-09-07 07:57:35 +00:00
parent 101609e25d
commit 3cf824f18c
2 changed files with 2 additions and 5 deletions
+2 -2
View File
@@ -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)
-3
View File
@@ -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)
{