Opened 14 months ago

Last modified 2 months ago

#105 assigned enhancement

minimize the number of .C files that include <windows.h>

Reported by: Thomas Bernard Owned by: Thomas Bernard
Priority: minor Milestone: 2.8
Component: GrafX2 Version: 2.6
Keywords: win32 Cc:

Description

<windows.h> pollutes the global namespace a lot
(see http://pulkomandy.tk/projects/GrafX2/ticket/99)

Change History (3)

comment:1 Changed 11 months ago by Thomas Bernard

and also there is our own windows.h... shouldn't us rename it to gfx2windows.h or something ?

#include <windows.h>
#include "windows.h"

comment:2 Changed 11 months ago by Thomas Bernard

there is OS dependent code in many places we'll need to put some of theses in separate .c files.
I have already successfully removed <windows.h> from const.h ;)

https://gitlab.com/GrafX2/grafX2/merge_requests/204

comment:3 Changed 2 months ago by PulkoMandy

Milestone: 2.72.8
Note: See TracTickets for help on using tickets.