Hi,

While compiling the PostgreSQL I have found that *memset_s function
requires a define "*__STDC_WANT_LIB_EXT1__*" *

*explicit_bzero.c:* In function ‘*explicit_bzero*’:

*explicit_bzero.c:23:9:* *warning: *implicit declaration of function ‘
*memset_s*’; did you mean ‘*memset*’? [*-Wimplicit-function-declaration*]

  (void) *memset_s*(buf, len, 0, len);

         *^~~~~~~~*

Attached is the patch to define that in the case of Solaris.


-- 
Ibrar Ahmed

Attachment: solaris_memset_s_v1.patch
Description: Binary data

Reply via email to