mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 09:28:40 +02:00
Windows: DynamicLib: Slim down Windows.h
This is important as it ends up being included in icsneoc.h
This commit is contained in:
@@ -1,7 +1,19 @@
|
|||||||
#ifndef __DYNAMICLIB_WINDOWS_H_
|
#ifndef __DYNAMICLIB_WINDOWS_H_
|
||||||
#define __DYNAMICLIB_WINDOWS_H_
|
#define __DYNAMICLIB_WINDOWS_H_
|
||||||
|
|
||||||
|
#define NOMINMAX
|
||||||
|
#ifndef WIN32_LEAN_AND_MEAN
|
||||||
|
#define LAM_DEFINED
|
||||||
|
#define WIN32_LEAN_AND_MEAN
|
||||||
|
#endif
|
||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
|
#ifdef LAM_DEFINED
|
||||||
|
#undef LAM_DEFINED
|
||||||
|
#undef WIN32_LEAN_AND_MEAN
|
||||||
|
#endif
|
||||||
|
#undef NOMINMAX
|
||||||
|
#undef near
|
||||||
|
#undef far
|
||||||
|
|
||||||
#ifdef ICSNEOC_MAKEDLL
|
#ifdef ICSNEOC_MAKEDLL
|
||||||
#define DLLExport __declspec(dllexport)
|
#define DLLExport __declspec(dllexport)
|
||||||
|
|||||||
Reference in New Issue
Block a user