Changeset 409

Show
Ignore:
Timestamp:
07/12/07 21:03:35 (1 year ago)
Author:
blackhedd
Message:

Patch submitted by Tim Pease, fixes a compile problem on older Solaris versions.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • version_0/ext/project.h

    r408 r409  
    6363#define AF_LOCAL AF_UNIX 
    6464#endif 
    65 // The ff is superfluous on Solaris > 7. Thanks to Brett Eisenberg. 
    66 //#define INADDR_NONE ((unsigned long)-1) 
     65// INADDR_NONE is undefined on Solaris < 8. Thanks to Brett Eisenberg and Tim Pease. 
     66#ifndef INADDR_NONE 
     67#define INADDR_NONE ((unsigned long)-1) 
     68#endif 
    6769#endif 
    6870#endif