mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
32 lines
435 B
C++
32 lines
435 B
C++
#pragma once
|
|
|
|
#ifdef _MSC_VER
|
|
|
|
#pragma push_macro("NOMINMAX")
|
|
#pragma push_macro("UNICODE")
|
|
#pragma push_macro("STRICT")
|
|
|
|
#ifndef NOMINMAX
|
|
#define NOMINMAX
|
|
#endif
|
|
|
|
#ifndef UNICODE
|
|
#define UNICODE
|
|
#endif
|
|
|
|
#ifndef STRICT
|
|
#define STRICT
|
|
#endif
|
|
|
|
#ifndef WIN32_LEAN_AND_MEAN
|
|
#define WIN32_LEAN_AND_MEAN
|
|
#endif
|
|
|
|
#include <Windows.h>
|
|
|
|
#pragma pop_macro("STRICT")
|
|
#pragma pop_macro("UNICODE")
|
|
#pragma pop_macro("NOMINMAX")
|
|
|
|
#endif // _MSC_VER
|