Changeset: df2e5023d9c9 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=df2e5023d9c9
Modified Files:
        sql/backends/monet5/UDF/pyapi/type_conversion.c
Branch: Dec2016
Log Message:

Old Visual Studio spells isnan differently.


diffs (14 lines):

diff --git a/sql/backends/monet5/UDF/pyapi/type_conversion.c 
b/sql/backends/monet5/UDF/pyapi/type_conversion.c
--- a/sql/backends/monet5/UDF/pyapi/type_conversion.c
+++ b/sql/backends/monet5/UDF/pyapi/type_conversion.c
@@ -12,6 +12,10 @@
 
 #include <longintrepr.h>
 
+#if defined(_MSC_VER) && _MSC_VER <= 1600
+#define isnan(x) _isnan(x)
+#endif
+
 #if PY_MAJOR_VERSION >= 3
 #define IS_PY3K
 #define PyInt_Check PyLong_Check
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to