Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2007 21:55:21 +0300
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        Rob Belics <rob_belics@charter.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Porting Windows program datatype problem
Message-ID:  <20071227185520.GA53485@hades.panopticon>
In-Reply-To: <4773E79B.1090904@charter.net>
References:  <4773E79B.1090904@charter.net>

next in thread | previous in thread | raw e-mail | index | archive | help
* Rob Belics (rob_belics@charter.net) wrote:
> There is a Windows open source program I would like to port to FreeBSD.  It 
> seems to compile OK, using gcc, but chokes on MS/Windows only type data 
> types like 'ulong'.  What would be the easiest way to fix/convert these, or 
> must it be done manually?

You can add compatibility header with

typedef unsigned long ulong;

That is easy and fast, and also least painful when you need to
update you port to new version of original sourcecode.

-- 
Dmitry A. Marakasov    | jabber: amdmi3@jabber.ru
amdmi3@amdmi3.ru       | http://www.amdmi3.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071227185520.GA53485>