default lock macros to nothing for unsupported platforms