Sha256: b31fabf65e1eac46b23805ed9025c2a677a4047128fc6c15ac262c1ce0d9c532

Contents?: true

Size: 502 Bytes

Versions: 6

Compression:

Stored size: 502 Bytes

Contents

/**
 * This file is simply a wrapper around <windows.h> and ensures that
 * WIN32_LEAN_AND_MEAN is defined before including it.
 */
#ifndef MLIB_WINDOWS_LEAN_H
#define MLIB_WINDOWS_LEAN_H

#ifdef __has_include
#if !__has_include(<windows.h>)
#error "<mlib/windows-lean.h> is only available when <windows.h> in available."
#endif
#endif

#pragma push_macro("WIN32_LEAN_AND_MEAN")
#define WIN32_LEAN_AND_MEAN 1
#include <windows.h>
#pragma pop_macro("WIN32_LEAN_AND_MEAN")

#endif // MLIB_WINDOWS_LEAN_H

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
libmongocrypt-helper-1.12.0.0.1001 ext/libmongocrypt/libmongocrypt/src/mlib/windows-lean.h
libmongocrypt-helper-1.11.0.0.1001 ext/libmongocrypt/libmongocrypt/src/mlib/windows-lean.h
libmongocrypt-helper-1.8.0.0.1001 ext/libmongocrypt/libmongocrypt/src/mlib/windows-lean.h
libmongocrypt-helper-1.7.4.0.1002 ext/libmongocrypt/libmongocrypt/src/mlib/windows-lean.h
libmongocrypt-helper-1.7.4.0.1001 ext/libmongocrypt/libmongocrypt/src/mlib/windows-lean.h
libmongocrypt-helper-1.7.4.0.1000 ext/libmongocrypt/libmongocrypt/src/mlib/windows-lean.h