On Tue Nov 21 16:30:14 2023 +0000, Nikolay Sivov wrote:
Another aspect is that it might be interesting in general to test our utilities on Windows, and having customizations like that would prevent it. Return code still reflects failure/success, so for scripting that might be enough?
the usual way would be to #ifndef the corresponding code ; note that MESSAGE cannot be preprocessed to nothing (not that hard to add though)
for the error code, didn't look at all of them but from Wine's regedit's exit_errorcode() function
```plaintext programs/regedit/regedit.c: exit(0); /* regedit.exe always terminates with error code zero */ ```