Changeset: acfc72072b2d for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=acfc72072b2d
Modified Files:
        clients/examples/C/bincopyloops.c
        common/utils/copybinary.h
Branch: copybinary
Log Message:

More ifdef HAVE_HGE


diffs (32 lines):

diff --git a/clients/examples/C/bincopyloops.c 
b/clients/examples/C/bincopyloops.c
--- a/clients/examples/C/bincopyloops.c
+++ b/clients/examples/C/bincopyloops.c
@@ -31,8 +31,8 @@ convert64(void *start, void *end)
 void
 convert128(void *start, void *end)
 {
+#ifdef HAVE_HGE
        for (uhge *p = start; p < (uhge*)end; p++) {
-#ifdef HAVE_HGE
                copy_binary_convert128(p);
 #endif
        }
diff --git a/common/utils/copybinary.h b/common/utils/copybinary.h
--- a/common/utils/copybinary.h
+++ b/common/utils/copybinary.h
@@ -87,6 +87,7 @@ copy_binary_byteswap64(uint64_t value) {
 
 #endif
 
+#ifdef HAVE_HGE
 static inline
 uhge copy_binary_byteswap128(uhge value) {
        uint64_t lo = (uint64_t) value;
@@ -95,6 +96,7 @@ uhge copy_binary_byteswap128(uhge value)
        uhge swapped_hi = (uhge)copy_binary_byteswap64(hi);
        return swapped_hi | (swapped_lo << 64);
 }
+#endif
 
 // These macros are used to convert a value in-place.
 // This makes it possible to also convert timestamps.
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to