[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problematic <malloc.h> include
From: |
Kyle McLachlan |
Subject: |
problematic <malloc.h> include |
Date: |
Sat, 13 Nov 2021 19:35:52 +0200 |
examples/threads/multiseed.c includes malloc.h, which causes the build to break on MacOS, as it is a non-standard header (albeit one that that both Windows and Linux have, for once). The functionality provided by malloc.h is provided by stdlib.h, which at some point caused malloc.h to be deprecated. Commenting out the include has no ill effects on the build.
Kind regards
Kyle
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- problematic <malloc.h> include,
Kyle McLachlan <=