URL:
<http://gna.org/patch/?7036>
Summary: Public FREECIV_MSWINDOWS
Project: Freeciv
Submitted by: cazfi
Submitted on: Fri 04 Mar 2016 11:41:37 AM EET
Category: bootstrap
Priority: 5 - Normal
Status: Ready For Test
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 2.6.0, 3.0.0
_______________________________________________________
Details:
Make WIN32_NATIVE public in freeciv_config.h as FREECIV_MSWINDOWS
- 'FREECIV_' prefix in the name since it's in public interface
- Not referring to specific address width (win32 vs win64)
- Not using 'win' nor 'loss'
- Decided against plain 'FREECIV_WINDOWS' to avoid namespace trouble if in the
future some gui again wants to define some freeciv specific window -widget, or
anything like that
Just one occurrence in the public headers needed to be changed. Old
'WIN32_NATIVE' macro stays defined and is still used everywhere else. We
should start phasing it out, but that's not an urgent thing.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 04 Mar 2016 11:41:37 AM EET Name: PublicMSWindows.patch Size: 2kB
By: cazfi
<http://gna.org/patch/download.php?file_id=26933>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?7036>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev