mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-08 16:50:44 +00:00
Refactor compiler detection conditions for array iterators
This commit is contained in:
committed by
Baldur Karlsson
parent
4da2c3ff0a
commit
eb8c26a11f
@@ -105,14 +105,10 @@
|
||||
# endif
|
||||
# define Q_DECL_EXPORT __declspec(dllexport)
|
||||
# define Q_DECL_IMPORT __declspec(dllimport)
|
||||
# if _MSC_VER >= 1940
|
||||
# define QT_MAKE_UNCHECKED_ARRAY_ITERATOR(x) (x)
|
||||
# elif _MSC_VER >= 1800
|
||||
# if _MSC_VER >= 1800 && _MSC_VER < 1940
|
||||
# define QT_MAKE_UNCHECKED_ARRAY_ITERATOR(x) stdext::make_unchecked_array_iterator(x)
|
||||
# endif
|
||||
# if _MSC_VER >= 1940
|
||||
# define QT_MAKE_CHECKED_ARRAY_ITERATOR(x, N) (x)
|
||||
# elif _MSC_VER >= 1500
|
||||
# if _MSC_VER >= 1500 && _MSC_VER < 1940
|
||||
# define QT_MAKE_CHECKED_ARRAY_ITERATOR(x, N) stdext::make_checked_array_iterator(x, size_t(N))
|
||||
# endif
|
||||
/* Intel C++ disguising as Visual C++: the `using' keyword avoids warnings */
|
||||
|
||||
Reference in New Issue
Block a user