Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Compiling Crafty using unsigned deftype DWORD_ptr; in Chess.h?

Author: Gareth McCaughan

Date: 11:56:48 07/30/04

Go up one level in this thread


On July 30, 2004 at 12:57:02, Peter Skinner wrote:

> Sometime ago when discussing compiling Crafty for Win32 and getting around the
> NUMA errors someone posted that using:
>
> unsigned deftype DWORD_ptr;
>
> At the top of chess.h was easier to use, rather than commenting out all
> the NUMA stuff in utility.c.
...
>Is that the correct code addition? When I enter it I am getting an error.

Certainly not that. Try

    typedef unsigned long * DWORD_ptr;

You can probably replace "long" with "int" or "" without doing any harm.
But I haven't actually looked at the code; I'm just judging by the
name "DWORD_ptr".

--
g



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.