summaryrefslogtreecommitdiff
path: root/indra/llcommon/llwin32headerslean.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcommon/llwin32headerslean.h')
-rw-r--r--indra/llcommon/llwin32headerslean.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llcommon/llwin32headerslean.h b/indra/llcommon/llwin32headerslean.h
index d3fb90d4b1..f7e71301a8 100644
--- a/indra/llcommon/llwin32headerslean.h
+++ b/indra/llcommon/llwin32headerslean.h
@@ -28,9 +28,13 @@
#define LL_LLWINDOWS_H
#ifdef LL_WINDOWS
+#ifndef NOMINMAX
+#define NOMINMAX
+#endif
#define WIN32_LEAN_AND_MEAN
#include <winsock2.h>
#include <windows.h>
+#undef NOMINMAX
#endif
#endif