replace NULL with 0.... Why isn't NULL defined by default on Mac OS X I don't know
--HG-- extra : convert_revision : b60403445bd4e855732fd4e6753068abd90ecc9d
This commit is contained in:
parent
257e09d626
commit
430622c173
1 changed files with 2 additions and 2 deletions
|
@ -271,8 +271,8 @@ if not conf.CheckLib(py_version_name):
|
||||||
Exit(1)
|
Exit(1)
|
||||||
|
|
||||||
# On Solaris you need to use libsocket for socket ops
|
# On Solaris you need to use libsocket for socket ops
|
||||||
if not conf.CheckLibWithHeader(None, 'sys/socket.h', 'C', 'accept(0,NULL,NULL);'):
|
if not conf.CheckLibWithHeader(None, 'sys/socket.h', 'C++', 'accept(0,0,0);'):
|
||||||
if not conf.CheckLibWithHeader('socket', 'sys/socket.h', 'C', 'accept(0,NULL,NULL);'):
|
if not conf.CheckLibWithHeader('socket', 'sys/socket.h', 'C++', 'accept(0,0,0);'):
|
||||||
print "Can't find library with socket calls (e.g. accept())"
|
print "Can't find library with socket calls (e.g. accept())"
|
||||||
Exit(1)
|
Exit(1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue