summaryrefslogtreecommitdiffstats
path: root/include/mingw/sys/sysmacros.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mingw/sys/sysmacros.h')
-rw-r--r--include/mingw/sys/sysmacros.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mingw/sys/sysmacros.h b/include/mingw/sys/sysmacros.h
new file mode 100644
index 0000000..a790cb2
--- /dev/null
+++ b/include/mingw/sys/sysmacros.h
@@ -0,0 +1,5 @@
+#pragma once
+
+#ifndef makedev
+#define makedev(maj, min) (((maj) << 8) + (min))
+#endif