Porting Windows program datatype problem

Rob Belics rob_belics at charter.net
Thu Dec 27 11:26:05 PST 2007

Aryeh M. Friedman wrote:
> Hash: SHA1
> Rob Belics 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?
> Sed is your friend.
> - --
> Aryeh M. Friedman
> FloSoft Systems
> http://www.flosoft-systems.com
> Developer, not business, friendly
> Version: GnuPG v2.0.4 (FreeBSD)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> iD8DBQFHc/GzzIOMjAek4JIRAq8ZAJ9lITgrz3Ph9Re8B/gg7ZaCnB09ugCdEXTK
> Mnlgui37P84botGFyNL4STg=
> =PCp7
That's fine when I know the type but I'm wanting to know what the best 
strategy to avoid having to look up everything.  Kind of like a Windows 
programmer having to look up 'size_t' and similar when you have 30 or 
more different ones to edit.

More information about the freebsd-ports mailing list