Update of /cvsroot/monetdb/clients/src/examples/C
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19497/src/examples/C
Modified Files:
Tag: Clients_1-20
Makefile.ag sample0.c sample1.c sample2.c sample3.c sample4.c
smack00.c smack01.c
Log Message:
Include mapilib/Mapi.h and mapi/mapi.h exclusively. This should fix
all problems with including the wrong file on case-insensitive file
systems.
Added support for PCRE on Windows.
Upgraded to PHP-5.2.4.
Define ssize_t in *config.h on Windows so that it is always avaliable.
Make pipe() available on Windows.
Index: sample0.c
===================================================================
RCS file: /cvsroot/monetdb/clients/src/examples/C/sample0.c,v
retrieving revision 1.3
retrieving revision 1.3.6.1
diff -u -d -r1.3 -r1.3.6.1
--- sample0.c 8 Jan 2007 14:03:36 -0000 1.3
+++ sample0.c 2 Oct 2007 11:48:26 -0000 1.3.6.1
@@ -19,7 +19,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <Mapi.h>
+#include <mapilib/Mapi.h>
#ifdef _MSC_VER
#define snprintf _snprintf
#endif
Index: smack00.c
===================================================================
RCS file: /cvsroot/monetdb/clients/src/examples/C/smack00.c,v
retrieving revision 1.4
retrieving revision 1.4.4.1
diff -u -d -r1.4 -r1.4.4.1
--- smack00.c 9 Mar 2007 14:13:20 -0000 1.4
+++ smack00.c 2 Oct 2007 11:48:50 -0000 1.4.4.1
@@ -19,7 +19,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <Mapi.h>
+#include <mapilib/Mapi.h>
#ifdef _MSC_VER
#if _MSC_VER >= 1400
/* this happens to work in this file */
Index: smack01.c
===================================================================
RCS file: /cvsroot/monetdb/clients/src/examples/C/smack01.c,v
retrieving revision 1.4
retrieving revision 1.4.4.1
diff -u -d -r1.4 -r1.4.4.1
--- smack01.c 9 Mar 2007 14:13:20 -0000 1.4
+++ smack01.c 2 Oct 2007 11:48:54 -0000 1.4.4.1
@@ -19,7 +19,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <Mapi.h>
+#include <mapilib/Mapi.h>
#ifdef _MSC_VER
#if _MSC_VER >= 1400
/* this happens to work in this file */
Index: sample4.c
===================================================================
RCS file: /cvsroot/monetdb/clients/src/examples/C/sample4.c,v
retrieving revision 1.3
retrieving revision 1.3.6.1
diff -u -d -r1.3 -r1.3.6.1
--- sample4.c 8 Jan 2007 14:03:37 -0000 1.3
+++ sample4.c 2 Oct 2007 11:48:46 -0000 1.3.6.1
@@ -19,7 +19,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <Mapi.h>
+#include <mapilib/Mapi.h>
#ifdef _MSC_VER
#define snprintf _snprintf
#endif
Index: sample1.c
===================================================================
RCS file: /cvsroot/monetdb/clients/src/examples/C/sample1.c,v
retrieving revision 1.3
retrieving revision 1.3.6.1
diff -u -d -r1.3 -r1.3.6.1
--- sample1.c 8 Jan 2007 14:03:36 -0000 1.3
+++ sample1.c 2 Oct 2007 11:48:30 -0000 1.3.6.1
@@ -19,7 +19,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <Mapi.h>
+#include <mapilib/Mapi.h>
#ifdef _MSC_VER
#define snprintf _snprintf
#endif
Index: sample2.c
===================================================================
RCS file: /cvsroot/monetdb/clients/src/examples/C/sample2.c,v
retrieving revision 1.3
retrieving revision 1.3.6.1
diff -u -d -r1.3 -r1.3.6.1
--- sample2.c 8 Jan 2007 14:03:37 -0000 1.3
+++ sample2.c 2 Oct 2007 11:48:33 -0000 1.3.6.1
@@ -19,7 +19,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <Mapi.h>
+#include <mapilib/Mapi.h>
#ifdef _MSC_VER
#define snprintf _snprintf
#endif
Index: Makefile.ag
===================================================================
RCS file: /cvsroot/monetdb/clients/src/examples/C/Makefile.ag,v
retrieving revision 1.5
retrieving revision 1.5.4.1
diff -u -d -r1.5 -r1.5.4.1
--- Makefile.ag 12 Apr 2007 09:33:54 -0000 1.5
+++ Makefile.ag 2 Oct 2007 11:48:18 -0000 1.5.4.1
@@ -15,7 +15,7 @@
# All Rights Reserved.
MTSAFE
-INCLUDES = $(MONETDB_INCS) ../../mapilib $(READLINE_INCS)
+INCLUDES = $(MONETDB_INCS) ../.. $(READLINE_INCS)
MAPI_LIBS = $(SOCKET_LIBS)
Index: sample3.c
===================================================================
RCS file: /cvsroot/monetdb/clients/src/examples/C/sample3.c,v
retrieving revision 1.3
retrieving revision 1.3.6.1
diff -u -d -r1.3 -r1.3.6.1
--- sample3.c 8 Jan 2007 14:03:37 -0000 1.3
+++ sample3.c 2 Oct 2007 11:48:35 -0000 1.3.6.1
@@ -19,7 +19,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <Mapi.h>
+#include <mapilib/Mapi.h>
#ifdef _MSC_VER
#define snprintf _snprintf
#endif
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins