View | Details | Raw Unified | Return to bug 219029
Collapse All | Expand All

(-)internal/dcraw_common.cpp (-1 / +4 lines)
Lines 52-55 Link Here
52
  return FC(row,col);
52
  return FC(row,col);
53
}
53
}
54
55
#if !defined(__FreeBSD__)
54
static size_t local_strnlen(const char *s, size_t n)
56
static size_t local_strnlen(const char *s, size_t n)
55
{
57
{
Lines 59-62 Link Here
59
/* add OS X version check here ?? */
61
/* add OS X version check here ?? */
60
#define strnlen(a,b) local_strnlen(a,b)
62
#define strnlen(a,b) local_strnlen(a,b)
63
#endif
61
64
62
#ifdef LIBRAW_LIBRARY_BUILD
65
#ifdef LIBRAW_LIBRARY_BUILD
Lines 70-74 Link Here
70
#endif
73
#endif
71
74
72
#ifndef __GLIBC__
75
#if !defined(__GLIBC__) && !defined(__FreeBSD__)
73
char *my_memmem (char *haystack, size_t haystacklen,
76
char *my_memmem (char *haystack, size_t haystacklen,
74
	      char *needle, size_t needlelen)
77
	      char *needle, size_t needlelen)

Return to bug 219029