-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dmitry Marakasov wrote: > * Rob Belics ([EMAIL PROTECTED]) 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. > It is also the most likely to blow up in your face better to have a sed script.
- -- Aryeh M. Friedman FloSoft Systems http://www.flosoft-systems.com Developer, not business, friendly -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHc/WDzIOMjAek4JIRAniCAKCh3abUGtScSuSdq1ogyfl7t3wJCgCeO5/P NvdJwOELR/DhiBnWDuYHcdo= =OxBY -----END PGP SIGNATURE----- _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"