[Asterisk-cvs] asterisk/cdr cdr_odbc.c,1.30,1.31

kpfleming kpfleming
Wed Sep 7 22:21:06 CDT 2005


Update of /usr/cvsroot/asterisk/cdr
In directory mongoose.digium.com:/tmp/cvs-serv1050/cdr

Modified Files:
	cdr_odbc.c 
Log Message:
more Cygwin portability (issue #4678)


Index: cdr_odbc.c
===================================================================
RCS file: /usr/cvsroot/asterisk/cdr/cdr_odbc.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- cdr_odbc.c	14 Jul 2005 20:08:31 -0000	1.30
+++ cdr_odbc.c	8 Sep 2005 02:21:24 -0000	1.31
@@ -19,9 +19,16 @@
 #include <unistd.h>
 #include <time.h>
 
+#ifndef __CYGWIN__
 #include <sql.h>
 #include <sqlext.h>
 #include <sqltypes.h>
+#else
+#include <windows.h>
+#include <w32api/sql.h>
+#include <w32api/sqlext.h>
+#include <w32api/sqltypes.h>
+#endif
 
 #include "asterisk.h"
 




More information about the svn-commits mailing list