1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/graphics/libecwj2/files/patch-Source-include-NCSMutex.h
Sergey A. Osokin 214b06a42c Add graphics/libecwj2 that implements support for the JPEG2000 and
ECW image formats.

Submitted by:	glebius
2010-08-03 10:26:57 +00:00

21 lines
499 B
C

--- Source/include/NCSMutex.h.orig 2009-04-05 21:26:21.000000000 +0400
+++ Source/include/NCSMutex.h 2009-04-05 21:27:18.000000000 +0400
@@ -114,7 +114,7 @@
#define NCS_NULL_MUTEX { PTHREAD_MUTEX_INITIALIZER }
-#elif defined LINUX
+#elif defined LINUX || defined FREEBSD
#define NCS_NULL_MUTEX PTHREAD_MUTEX_INITIALIZER
@@ -123,7 +123,7 @@
#else /* MACINTOSH */
-ERROR: Define NCS_NULL_MUTEX for this platform
+#error Define NCS_NULL_MUTEX for this platform
#endif /* WIN32 */