Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/scripts/wrap/cpp.py b/scripts/wrap/cpp.py 2index 51ac5f1..b5c0b5a 100644 3--- a/scripts/wrap/cpp.py 4+++ b/scripts/wrap/cpp.py 5@@ -4595,7 +4595,7 @@ def cpp_source( 6 */ 7 typedef unsigned long size_t; 8 ''')) 9- if state.state_.macos: 10+ if state.state_.linux or state.state_.macos: 11 f.write( textwrap.dedent(''' 12 /* 13 Workaround on MacOS: we need to define fixed-size int types