fixed ticket #892
authorVadim Pisarevsky <no@email>
Fri, 10 Jun 2011 07:08:34 +0000 (07:08 +0000)
committerVadim Pisarevsky <no@email>
Fri, 10 Jun 2011 07:08:34 +0000 (07:08 +0000)
modules/legacy/include/opencv2/legacy/blobtrack.hpp

index d9029dd..3afce31 100644 (file)
@@ -56,7 +56,7 @@
 #define strdup _strdup
 #define stricmp _stricmp
 #endif
-#elif defined __GNUC__
+#elif defined __GNUC__ || defined __sun
 #define cv_stricmp strcasecmp
 #define cv_strnicmp strncasecmp
 #else