]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/utils.cpp
Latest distutils
[wxWidgets.git] / src / msw / utils.cpp
index fae0cb322d99df68f07c31f87105cdc6f7544b32..e3de12da518ca709c3f46560a091c463b98a7f02 100644 (file)
@@ -144,7 +144,7 @@ bool wxGetHostName(wxChar *buf, int maxSize)
 // get full hostname (with domain name if possible)
 bool wxGetFullHostName(wxChar *buf, int maxSize)
 {
-#ifndef __WXMICROWIN__
+#if !defined( __WXMICROWIN__) && wxUSE_DYNAMIC_LOADER
     // TODO should use GetComputerNameEx() when available
 
     // we don't want to always link with Winsock DLL as we might not use it at