Please sign in to comment.
petscsys.h: find memcpy and memset in string.h
C89 and later say that memcpy and memset are in string.h. With glibc, memory.h merely includes string.h, and one user reported an error due to undefined memset (which I cannot reproduce). So quit bothering with nonstandard memory.h and just include string.h. Reported-by: Alexander Krimm <firstname.lastname@example.org>
- Loading branch information...
Showing with 2 additions and 4 deletions.