cvdef.h: Don't use C's limits.h under C++
authorNiklas Hambüchen <mail@nh2.me>
Wed, 29 Jan 2020 01:39:33 +0000 (02:39 +0100)
committerNiklas Hambüchen <mail@nh2.me>
Wed, 29 Jan 2020 15:41:31 +0000 (16:41 +0100)
commit70cbc3d8832913c650461b3860e561d0570c6996
treef68877b3910be065b3034b2dd551ac661d0eb4ac
parent7e6bdbad9b148f981a7ecb1c980e0abc905c1e75
cvdef.h: Don't use C's limits.h under C++

Just like with the other headers in the rest of the file.

See e.g. https://stackoverflow.com/questions/36831465/what-difference-does-it-make-when-i-include-limits-or-limits-h-in-my-c-cod
for the reasons, the most important one being that limits.h does not respect
namespaces, which can make problems for downstream consumers of cvdef.h.
modules/core/include/opencv2/core/cvdef.h