]> git.ipfire.org Git - thirdparty/pciutils.git/commitdiff
libpci: i386-io-windows.h: Fix comment about CRTDLL
authorPali Rohár <pali@kernel.org>
Thu, 10 Feb 2022 12:33:46 +0000 (13:33 +0100)
committerMartin Mareš <mj@ucw.cz>
Thu, 10 Feb 2022 12:44:36 +0000 (13:44 +0100)
There is no 64-bit version of CRTDLL library. MinGW-w64 provided bogus
64-bit import library for non-existent runtime DLL library, which was
recently deleted.

lib/i386-io-windows.h

index 6cf3a25581135efacd54249dcfd70bb3d7985e13..9cd9cd95498481297b7f7dee6d17b05f6338f245 100644 (file)
 #define _inpd(x) __indword(x)
 #elif defined(__CRTDLL__)
 /*
- * Old CRTDLL library does not provide I/O port functions. Even it is the oldest
- * CRT library it exists also in 64-bit variant. Implement I/O port functions
- * via inline assembly just for 32-bit mode as 64-bit mode uses above <intrin.h>
- * header.
+ * Old 32-bit CRTDLL library does not provide I/O port functions. As this
+ * library exists only in 32-bit mode variant, implement I/O port functions
+ * via 32-bit inline assembly.
  */
 static inline int _outp(unsigned short port, int databyte)
 {