Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 18 lines 522 B view raw
1Ported to updated libjpeg-turbo from 2https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-libjpeg-turbo/jpeg-typedefs.patch 3--- a/src/jmorecfg.h 4+++ b/src/jmorecfg.h 5@@ -200,6 +200,13 @@ 6 */ 7 8 #ifndef HAVE_BOOLEAN 9+#if defined(_WIN32) && !defined(HAVE_BOOLEAN) 10+#ifndef __RPCNDR_H__ 11+typedef unsigned char boolean; 12+#endif 13+#define HAVE_BOOLEAN 14+#endif 15+#if !defined(HAVE_BOOLEAN) && !defined(__RPCNDR_H__) 16 typedef int boolean; 17 #endif 18 #ifndef FALSE /* in case these macros already exist */