mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-13 14:25:12 -04:00
17 lines
442 B
C
17 lines
442 B
C
$NetBSD: patch-modules_flann_include_opencv2_flann_defines.h,v 1.1 2015/10/17 10:28:43 fhajny Exp $
|
|
|
|
Avoid CS conflict on SunOS.
|
|
|
|
--- modules/flann/include/opencv2/flann/defines.h.orig 2012-09-27 22:55:06.000000000 +0000
|
|
+++ modules/flann/include/opencv2/flann/defines.h
|
|
@@ -71,6 +71,9 @@
|
|
#define FLANN_PLATFORM_32_BIT
|
|
#endif
|
|
|
|
+#ifdef __sun
|
|
+#undef CS
|
|
+#endif
|
|
|
|
#undef FLANN_ARRAY_LEN
|
|
#define FLANN_ARRAY_LEN(a) (sizeof(a)/sizeof(a[0]))
|