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?

Thanks,
Danek

-- 
-- 
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.

Raspunde prin e-mail lui