Skip to content
Snippets Groups Projects
Commit e92bdbe8 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'fix-dynamic-loader-failures'


9e8e9ba0 DynamicLoader: avoid the min/max macros from windows.h
efb006b9 DynamicLoader: include stdio.h for _snprintf

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: default avatarBrad King <brad.king@kitware.com>
Merge-request: !137
parents 0a4db632 9e8e9ba0
No related branches found
No related tags found
No related merge requests found
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing#kwsys for details. */
#if defined(_WIN32)
# define NOMINMAX // hide min,max to not conflict with <limits>
#endif
#include "kwsysPrivate.h"
#include KWSYS_HEADER(DynamicLoader.hxx)
......@@ -212,6 +216,8 @@ const char* DynamicLoader::LastError()
// Implementation for Windows win32 code but not cygwin
# include <windows.h>
# include <stdio.h>
namespace KWSYS_NAMESPACE {
DynamicLoader::LibraryHandle DynamicLoader::OpenLibrary(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment