summaryrefslogtreecommitdiff
path: root/databases/mysql-connector-odbc/files/patch-strndup
blob: bf424d5d5df6fc4eafe73b0d3a47c7f053ffab61 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- util/MYODBCUtilReadDataSourceStr.c.orig	Sun Oct  9 22:33:40 2005
+++ util/MYODBCUtilReadDataSourceStr.c	Thu Oct 27 16:35:43 2005
@@ -20,7 +20,7 @@
 
 #include "MYODBCUtil.h"
 
-#if defined(__APPLE__) || defined(WIN32) || defined(__sparc)
+#if defined(__APPLE__) || defined(WIN32) || defined(__sparc) || defined(__FreeBSD__)
 char *strndup( const char *s, size_t n )
 {
     size_t nAvail;