boot2

Playing with the boostrap
git clone https://git.ryansepassi.com/git/boot2.git
Log | Files | Refs | README

tinyc-define.before (228B)


      1         /* define __TINYC__ 92X  */
      2         char buffer[32]; int a,b,c;
      3         sscanf(TCC_VERSION, "%d.%d.%d", &a, &b, &c);
      4         sprintf(buffer, "%d", a*10000 + b*100 + c);
      5         tcc_define_symbol(s, "__TINYC__", buffer);