Update to 2.0.0 tree from current Fremantle build
[opencv] / debian / patches / 100_static_inline.diff
1 --- a/include/opencv/cxtypes.h  2009-11-25 16:30:59.000000000 +0900
2 +++ b/include/opencv/cxtypes.h  2009-11-25 16:31:15.000000000 +0900
3 @@ -140,7 +140,7 @@
4  #elif (defined WIN32 || defined _WIN32 || defined WIN64 || defined _WIN64 || defined WINCE) && !defined __GNUC__
5      #define CV_INLINE __inline
6  #else
7 -    #define CV_INLINE static
8 +    #define CV_INLINE static inline
9  #endif
10  #endif /* CV_INLINE */
11  
12 --- a/include/opencv/highgui.h  2009-11-25 16:32:04.000000000 +0900
13 +++ b/include/opencv/highgui.h  2009-11-25 16:33:47.000000000 +0900
14 @@ -83,7 +83,7 @@
15      #elif (defined WIN32 || defined _WIN32 || defined WIN64 || defined _WIN64) && !defined __GNUC__
16        #define CV_INLINE __inline
17      #else
18 -      #define CV_INLINE static
19 +      #define CV_INLINE static inline
20      #endif
21    #endif /* CV_INLINE */
22