Merge pull request #18 from kamrann/minor-fixes
Minor changes to preprocessor directives
This commit is contained in:
commit
921f01fbea
@ -18,10 +18,13 @@
|
|||||||
#include <gsl/span>
|
#include <gsl/span>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <objbase.h>
|
#ifndef WIN32_LEAN_AND_MEAN
|
||||||
|
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
|
#endif
|
||||||
|
#ifndef NOMINMAX
|
||||||
#define NOMINMAX
|
#define NOMINMAX
|
||||||
|
#endif
|
||||||
|
#include <objbase.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <intrin.h>
|
#include <intrin.h>
|
||||||
#include <iphlpapi.h>
|
#include <iphlpapi.h>
|
||||||
@ -697,7 +700,7 @@ namespace uuids
|
|||||||
bytes.byte15
|
bytes.byte15
|
||||||
} };
|
} };
|
||||||
return uuid{ std::begin(arrbytes), std::end(arrbytes) };
|
return uuid{ std::begin(arrbytes), std::end(arrbytes) };
|
||||||
#elif
|
#else
|
||||||
return uuid{};
|
return uuid{};
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user