From: Luke D. <cod...@ho...> - 2006-02-03 08:37:37
|
----- Original Message ----- From: "Earnie Boyd" <ea...@us...> To: <min...@li...> Sent: Thursday, February 02, 2006 9:37 PM Subject: Re: [Mingw-users] Adapting MinGW's headers for PocketPCdevelopment > Quoting Eric House <eee...@ya...>: > > --8<-- >> The second option is to contribute the necessary >> changes back to the >> MinGW project, probably as patches making heavy use of >> >> #ifndef TARGET_POCKETPC // whatever >> DWORD field_missing_on_ppc; >> #endif >> > > We already support differences based on compiler set, e.g. Watcom, so > supporting your differences makes sense. I would suggest that you may > want to version guard the declarations as well. __POCKETPC__ and > __POCKETPCVER__ make sense to me. I hope we can make use of the standard macro _WIN32_WCE instead of inventing new ones, so that code written for Microsoft's Windows CE compilers can be as compatible as possible with GCC. This macro is defined only when targetting Windows CE platforms (including but not limited to Pocket PC) and also equals the version number of Windows CE, e.g. 300 for WinCE 3.0. http://msdn.microsoft.com/library/en-us/dnppcgen/html/ppc_ource.asp Luke > > > --8<-- >> Oh, and is this even the right place to begin this >> discussion? >> > > Yes to begin the discussion it makes sense. You may want to join > mingw-dvlpr list and associate yourself as one of the developers to > continue, but that isn't a requirement for contribution. > > > Earnie Boyd |