summaryrefslogtreecommitdiff
path: root/external/vpc/public/winlite.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /external/vpc/public/winlite.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'external/vpc/public/winlite.h')
-rw-r--r--external/vpc/public/winlite.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/external/vpc/public/winlite.h b/external/vpc/public/winlite.h
new file mode 100644
index 0000000..dc2a0bd
--- /dev/null
+++ b/external/vpc/public/winlite.h
@@ -0,0 +1,31 @@
+//========= Copyright 1996-2005, Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//
+//=============================================================================//
+
+#ifndef WINLITE_H
+#define WINLITE_H
+#pragma once
+
+#ifdef _WIN32
+//
+// Prevent tons of unused windows definitions
+//
+#define WIN32_LEAN_AND_MEAN
+#define NOWINRES
+#define NOSERVICE
+#define NOMCX
+#define NOIME
+#if !defined( _X360 )
+#pragma warning(push, 1)
+#pragma warning(disable: 4005)
+#include <windows.h>
+#pragma warning(pop)
+#endif
+#undef PostMessage
+
+#endif // WIN32
+#endif // WINLITE_H