ldiv.c - scc - simple c99 compiler (HTM) git clone git://git.simple-cc.org/scc (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules (DIR) README (DIR) LICENSE --- ldiv.c (107B) --- 1 #include <stdlib.h> 2 3 #undef ldiv 4 5 ldiv_t 6 ldiv(long num, long den) 7 { 8 return (ldiv_t) {num/den, num%den}; 9 }