Issue #1769 - Part 1 Follow-up: Use standard [[deprecated]] for JXL_DEPRECATED.

This fixes building with MSVC for Windows.
This commit is contained in:
Job Bautista 2022-06-24 20:26:26 +08:00 committed by roytam1
commit 40f27cd35b

View file

@ -9,8 +9,7 @@
#define JXL_EXPORT
// TODO: go back to [[deprecated]]
// https://github.com/libjxl/libjxl/issues/1388
#define JXL_DEPRECATED __attribute__((__deprecated__))
// MSVC requires [[deprecated]]
#define JXL_DEPRECATED [[deprecated]]
#endif /* JXL_EXPORT_H */