Felix von Leitner 6 years ago
parent
commit
5027027b8c
  1. 6
      scan/scan_varint.c

6
scan/scan_varint.c

@ -14,4 +14,10 @@ size_t scan_varint(const char* in,size_t len, unsigned long long* n) {
return 0;
}
#ifdef __ELF__
size_t scan_pb_type0_int(const char* dest,size_t len,unsigned long long* l) __attribute__((alias("scan_varint")));
#else
size_t scan_pb_type0_int(const char* dest,size_t len,unsigned long long* l) {
return scan_varint(dest,len,l);
}
#endif

Loading…
Cancel
Save