I think that, especially if #define PRAGMA_API still works, it's rather a bug than purpose.