Conflicting gethostname function definition on Solaris 9

John Ky johnk at aurema.commercial
Mon Dec 1 22:45:02 EST 2003


"John Ky" <johnk at aurema.commercial> wrote in message
news:1070335876.873683 at cousin.sw.oz.au...
> To work around this, I had to do two things:
>
> 1. not defined "SOLARIS"
> 2. put "python.h" first in the header file.

Oops - I meant include "python.h" first before any other header
from my *.cpp file.

-John






More information about the Python-list mailing list