Forum OpenACS Development: EAI_SYSTEM Definition

Request notifications

Posted by Maurizio Martignano on
Dear all,

today I updated my distribution and in doing that I had to introduce the following temporary fix:

#include "ns.h"

#ifndef EAI_SYSTEM
#define EAI_SYSTEM (-11)

 * Constants
in the file NSD.H.

I don't know if it is the proper way and/or place to add this missing definition.

Hope it helps,

2: Re: EAI_SYSTEM Definition (response to 1)
Posted by Gustaf Neumann on

many thanks for reporting. I've addressed the issue in the NaviServer code base in a different way, since EAI_SYSTEM is not supported at all by the MSC runtime. The approach above might lead to unexpected behavior when Microsoft decides to use the constant -11 for other conditions.

3: Re: EAI_SYSTEM Definition (response to 2)
Posted by Maurizio Martignano on
Thank you very much Gustaf. I'll include your update in my distro right now.

Once again thank you,