Project

General

Profile

Actions

Feature #451

closed

Use #define WIN32_LEAN_AND_MEAN when including <windows.h>

Added by Jörg Riesmeier almost 13 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Jan Schlamelcher
Category:
Library
Target version:
Start date:
2012-09-21
Due date:
% Done:

100%

Estimated time:
Module:
all
Operating System:
Compiler:

Description

While fixing some typos in the new header file "ofnetdb.h", I discovered that "windows.h" is included in this header file. In order to increase the performance of the compilation process, it should be checked whether compilation still works when defining WIN32_LEAN_AND_MEAN (directly in front of this include statement).

This also applies to all other files in the DCMTK (public and private part) where "windows.h" is included in this manner. This is especially true for header files!

Actions

Also available in: Atom PDF