Changed first approach to a more general MS-specific approach.

Suggested by @SpecLad
This commit is contained in:
StevenPuttemans 2013-07-18 14:24:19 +02:00
parent 1fc89bb2e0
commit f9b594bf08

View File

@ -137,9 +137,8 @@
#ifndef CV_INLINE
# if defined __cplusplus
# define CV_INLINE inline
# elif (defined WIN32 || defined _WIN32 || defined WINCE) && !defined __GNUC__
# elif defined _MSC_VER
# define CV_INLINE __inline
# elif (defined WIN32 || defined WIN32 || defined WINCE) && (!defined GNUC && !defined _CVI)
# else
# define CV_INLINE static
# endif