commit 58bd873729 had a mix of `#if defined(X)` and `#ifdef X`, but used `#if X` in its TCSETS ioctl logic which causes compile warnings.
58bd873729