--On Sunday, April 14, 2002 12:10 PM -0700 Craig R Hughes 
<[EMAIL PROTECTED]> wrote:

> Sounds like AIX needs to be added to the list of OSes which don't define
> this.   Any idea what preprocessor symbols AIX defines?  __AIX__ maybe?

Smells like _AIX to me.  It's been way too long since I did any 
programming, but this seems to have worked for me (it compiled, I'll run it 
later).

/* SunOS 4.1.4 patch from Tom Lipkis <[EMAIL PROTECTED]> */
#if defined(__sun__) && defined(__sparc__) && !defined(__svr4__)
# ifndef EX__MAX
# define EX__MAX 77
extern char *optarg;
typedef unsigned long   in_addr_t;      /* base type for internet address */
# endif
#endif

#ifdef _AIX
# ifndef EX__MAX
#define EX__MAX 77
extern char *optarg;
typedef unsigned long   in_addr_t;      /* base type for internet address */
# endif
#endif

The _AIX should probably be merged up into the upper ifdef for cleanliness.



Michael

--

  --------------------------------o---------------------------------
   Michael H. Martel              | Vermont State Colleges
   [EMAIL PROTECTED]          | Systems Administrator
   http://probe.vsc.edu/~michael  | PH:802-241-2544 FX:802-241-3363



_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to