mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[devel] Make PNG_ALLOCATED blank when _MSC_VER<1300 in pngconf.h
This commit is contained in:
@@ -404,7 +404,11 @@
|
||||
# define PNG_PTR_NORETURN /* not supported */
|
||||
# endif
|
||||
# ifndef PNG_ALLOCATED
|
||||
# define PNG_ALLOCATED __declspec(restrict)
|
||||
# if (_MSC_VER < 1300)
|
||||
# define PNG_ALLOCATED /* not supported */
|
||||
# else
|
||||
# define PNG_ALLOCATED __declspec(restrict)
|
||||
# endif
|
||||
# endif
|
||||
|
||||
/* This specifically protects structure members that should only be
|
||||
|
||||
Reference in New Issue
Block a user