Changeset: 1e356b6e3738 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/1e356b6e3738
Modified Files:
        clients/odbc/samples/metadata.c
Branch: default
Log Message:

Allow use of functions deprectated by Visual Studio.


diffs (14 lines):

diff --git a/clients/odbc/samples/metadata.c b/clients/odbc/samples/metadata.c
--- a/clients/odbc/samples/metadata.c
+++ b/clients/odbc/samples/metadata.c
@@ -7,6 +7,10 @@
  */
 
 #ifdef _MSC_VER
+/* Visual Studio 8 has deprecated lots of stuff: suppress warnings */
+#ifndef _CRT_SECURE_NO_DEPRECATE
+#define _CRT_SECURE_NO_DEPRECATE 1
+#endif
 #include <WTypes.h>
 #endif
 #include <stdio.h>
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to