android13/external/e2fsprogs/include/mingw/sys/sysmacros.h

11 lines
258 B
C
Raw Normal View History

2024-06-22 08:45:49 -04:00
#pragma once
/*
* Fall back to Linux's definitions of makedev and major are needed.
* The search_sysfs_block() function is highly unlikely to work on
* non-Linux systems anyway.
*/
#ifndef makedev
#define makedev(maj, min) (((maj) << 8) + (min))
#endif