Oliver Elphick <[EMAIL PROTECTED]> writes:
> Line 138 begins the definition of strndup().  However, strndup() is also
> declared in string.h, which is included by this file.  If I rename this
> function to estrndup() (and also where it is called, further down) the
> compilation succeeds.

Hm, is strndup defined as a macro in your string.h?  I suspect it's not
a good idea to be providing a local definition of something that might
be considered a standard function.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Reply via email to