Fri, 13 Apr 2012 18:48:23 +0200
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.
1 Index: scanner.l
2 --- scanner.l.orig 2007-06-11 21:34:28 +0200
3 +++ scanner.l 2007-12-19 10:56:36 +0100
4 @@ -81,13 +81,6 @@
5 B ([0-9A-Fa-f][0-9A-Fa-f]?)
6 W ([0-9A-Fa-f][0-9A-Fa-f]?[0-9A-Fa-f]?[0-9A-Fa-f]?)
8 -%a 18400
9 -%o 21500
10 -%e 7600
11 -%k 4550
12 -%p 27600
13 -%n 2000
14 -
15 V680 {W}:{W}:{W}:{W}:{W}:{W}:{W}:{W}
17 V670 ::{W}:{W}:{W}:{W}:{W}:{W}:{W}