Incidentally, replace the IS_* macros by inline functions.
Attach a file by drag & drop or click to upload