Opened 5 years ago

Closed 4 years ago

#105 closed enhancement (fixed)

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:


<windows.h> pollutes the global namespace a lot

Change History (4)

comment:1 by Thomas Bernard, 5 years ago

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 by Thomas Bernard, 5 years ago

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 ;)

comment:3 by PulkoMandy, 4 years ago

Milestone: 2.72.8

comment:4 by Thomas Bernard, 4 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.