Define WIN32_LEAN_AND_MEAN globally

This commit is contained in:
Birunthan Mohanathas
2013-12-24 11:20:19 +00:00
parent c196396ad0
commit da92def9fc
26 changed files with 27 additions and 14 deletions

View File

@ -28,6 +28,7 @@
#include <unordered_map>
#include <algorithm>
#include <cstdint>
#include <ole2.h> // For Gdiplus.h.
#include <gdiplus.h>
class Rainmeter;

View File

@ -20,6 +20,7 @@
#define __METER_H__
#include <windows.h>
#include <ole2.h> // For Gdiplus.h.
#include <gdiplus.h>
#include <vector>
#include <string>

View File

@ -23,11 +23,10 @@
#include <crtdbg.h>
// WINAPI
#define WIN32_LEAN_AND_MEAN
#include <ws2tcpip.h>
#include <windows.h>
#include <windowsx.h>
#include <ole2.h>
#include <ole2.h> // For Gdiplus.h.
#include <gdiplus.h>
#include <dwmapi.h>
#include <comdef.h>

View File

@ -20,6 +20,7 @@
#define __TINTEDIMAGE_H__
#include <windows.h>
#include <ole2.h> // For Gdiplus.h.
#include <gdiplus.h>
#include <string>
#include "MeterWindow.h"

View File

@ -20,6 +20,7 @@
#define __TRAYWINDOW_H__
#include <windows.h>
#include <ole2.h> // For Gdiplus.h.
#include <gdiplus.h>
#include <vector>