sustrik / dsock

An obsolete project
Other
82 stars 23 forks source link

Align _XXX_VALUE with the usage. #38

Closed vlm closed 7 years ago

vlm commented 7 years ago

The code uses _XXX_VALUE macros like this in btls.c:

switch(_XXX_VALUE(x)) {
   case _XXX_A: ...
   case _XXX_B: ...
}

The old _XXX_VALUE macros were written in a way that prevented btls.c from switching on them properly.