gfx/angle/src/common/system.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gfx/angle/src/common/system.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,26 @@
     1.4 +//
     1.5 +// Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved.
     1.6 +// Use of this source code is governed by a BSD-style license that can be
     1.7 +// found in the LICENSE file.
     1.8 +//
     1.9 +
    1.10 +// system.h: Includes Windows system headers and undefines macros that conflict.
    1.11 +
    1.12 +#ifndef COMMON_SYSTEM_H
    1.13 +#define COMMON_SYSTEM_H
    1.14 +
    1.15 +#if !defined(WIN32_LEAN_AND_MEAN)
    1.16 +#define WIN32_LEAN_AND_MEAN
    1.17 +#endif
    1.18 +
    1.19 +#include <windows.h>
    1.20 +
    1.21 +#if defined(min)
    1.22 +#undef min
    1.23 +#endif
    1.24 +
    1.25 +#if defined(max)
    1.26 +#undef max
    1.27 +#endif
    1.28 +
    1.29 +#endif   // COMMON_SYSTEM_H

mercurial