3 ms·
The diminishing return approach is this: #ifdef LINUX // include Linux headers #elif defined(BSD) // include BSD headers #elif defined
by ori_b 11y ago
The diminishing return approach is this:
#ifdef LINUX
// include Linux headers
#elif defined(BSD)
// include BSD headers
#elif defined(WINDOWS)
// include Windows headers.
# else
#error "unsupported system"
#endif