Changed first approach to a more general MS-specific approach.
Suggested by @SpecLad
This commit is contained in:
@@ -137,9 +137,8 @@
|
|||||||
#ifndef CV_INLINE
|
#ifndef CV_INLINE
|
||||||
# if defined __cplusplus
|
# if defined __cplusplus
|
||||||
# define CV_INLINE inline
|
# define CV_INLINE inline
|
||||||
# elif (defined WIN32 || defined _WIN32 || defined WINCE) && !defined __GNUC__
|
# elif defined _MSC_VER
|
||||||
# define CV_INLINE __inline
|
# define CV_INLINE __inline
|
||||||
# elif (defined WIN32 || defined WIN32 || defined WINCE) && (!defined GNUC && !defined _CVI)
|
|
||||||
# else
|
# else
|
||||||
# define CV_INLINE static
|
# define CV_INLINE static
|
||||||
# endif
|
# endif
|
||||||
|
Reference in New Issue
Block a user