compiler.c (174B)
1 2 #include <stdlib.h> 3 #include "compiler.h" 4 5 bool alignment_ok(const void *p, size_t n) 6 { 7 #if HAVE_UNALIGNED_ACCESS 8 return true; 9 #else 10 return ((size_t)p % n == 0); 11 #endif 12 }
btcsbitcoin script parser/evaluator/compiler/decompiler | |
git clone git://jb55.com/btcs | |
Log | Files | Refs | README | LICENSE |