Switch to unified view

a/src/netcon.cpp b/src/netcon.cpp
...
...
70
70
71
// Need &one, &zero for setsockopt...
71
// Need &one, &zero for setsockopt...
72
static const int one = 1;
72
static const int one = 1;
73
static const int zero = 0;
73
static const int zero = 0;
74
74
75
#ifndef LOGSYSERR
75
#define LOGSYSERR(who, call, spar)                                \
76
#define LOGSYSERR(who, call, spar)                                \
76
    LOGERR(who << ": "  << call << "("  << spar << ") errno " <<  \
77
    LOGERR(who << ": "  << call << "("  << spar << ") errno " <<  \
77
           errno << " ("  << strerror(errno) << ")\n")
78
           errno << " ("  << strerror(errno) << ")\n")
78
79
#endif
79
#ifndef MIN
80
#ifndef MIN
80
#define MIN(a,b) ((a)<(b)?(a):(b))
81
#define MIN(a,b) ((a)<(b)?(a):(b))
81
#endif
82
#endif
82
#ifndef MAX
83
#ifndef MAX
83
#define MAX(a,b) ((a)>(b)?(a):(b))
84
#define MAX(a,b) ((a)>(b)?(a):(b))