Danek Duvall wrote:
> The following lives in os_unix.h:
>
> /*
> * Sun defines FILE on SunOS 4.x.x, Solaris has a typedef for FILE
> */
> #if defined(sun) && !defined(FILE)
> # define SOLARIS
> #endif
>
> That may or may not be useful anymore, but SOLARIS is nowhere else to be
> found in the source. We recently noticed that this caused the vim build to
> fail when paired with Python, which has
>
> #ifdef SOLARIS
> /* Unchecked */
> extern int gethostname(char *, int);
> #endif
>
> in pyport.h, and that declaration is at odds with the official declaration
> in unistd.h.
>
> While the declaration in pyport.h is incorrect and needs to be removed, it
> seems that the #define in os_unix.h should be removed, too.
>
> Any objections?
I don't see any reason to define SOLARIS. Let's remove it.
--
ERIC IDLE PLAYED: THE DEAD COLLECTOR, MR BINT (A VILLAGE NE'ER-DO -WELL VERY
KEEN ON BURNING WITCHES), SIR ROBIN, THE GUARD WHO DOESN'T
HICOUGH BUT TRIES TO GET THINGS STRAIGHT, CONCORDE (SIR
LAUNCELOT'S TRUSTY STEED), ROGER THE SHRUBBER (A SHRUBBER),
BROTHER MAYNARD
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.