Mercurial > code
diff C++/DynLib.cpp @ 248:d157f4747676
Directory: fix _WIN32
DynLib: fix _WIN32
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 01 Oct 2014 14:37:42 +0200 |
parents | 274b4f216e65 |
children | 24085fae3162 |
line wrap: on
line diff
--- a/C++/DynLib.cpp Sun Sep 28 21:15:26 2014 +0200 +++ b/C++/DynLib.cpp Wed Oct 01 14:37:42 2014 +0200 @@ -18,7 +18,7 @@ #include <stdexcept> -#if defined(_MSC_VER) +#if defined(_WIN32) # include <Windows.h> #else # include <dlfcn.h> @@ -26,7 +26,7 @@ #include "DynLib.h" -#if defined(_MSC_VER) +#if defined(_WIN32) namespace {