Pádraig Brady wrote in 
http://lists.gnu.org/archive/html/bug-gnulib/2016-04/msg00022.html:
> I suggested a makedev gnulib module in the thread above
> as it's not just the headers that are varying,
> as also some systems use mkdev() and some makedev().
> http://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00023.html

I agree that gnulib is a good place to handle this. Some more info:

Platforms that have makedev as a function: none.

Platforms that have makedev as a macro:
  in <sys/mkdev.h>: glibc, IRIX, Solaris, Interix
  in <sys/sysmacros.h>: AIX, BeOS, Cygwin, HP-UX, IRIX, Solaris
  in <sys/types.h>: FreeBSD, NetBSD, OpenBSD, Mac OS X, Minix, OSF/1

Platforms that have mkdev as a function: none

Platforms that have mkdev as a macro:
  in <sys/mkdev.h>: Interix

Bruno


Reply via email to