mtasc/mtasc.sh

Fri, 13 Apr 2012 18:48:23 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 13 Apr 2012 18:48:23 +0200
changeset 418
680c3f7768b0
permissions
-rw-r--r--

Correct various structure and architecture problems in code including:
use functions from ISO C stdio requires cstdio header,
include sockio header only in platforms where it's present,
touch random number seeder logic on X86-64 platforms as well as IA-32,
and hopefully use all 64 bits of register as it would seem that more
like 'asm("rdtsc" : "=a" (lowtick), "=d" (hitick));' is needed instead.

michael@112 1 #!/bin/sh
michael@112 2 @l_prefix@/lib/mtasc/@tool@ ${1+"$@"}

mercurial