diff --git a/_device_threads_8h_source.html b/_device_threads_8h_source.html index 70d65c2..72cc231 100644 --- a/_device_threads_8h_source.html +++ b/_device_threads_8h_source.html @@ -68,7 +68,7 @@
20 
21 #pragma once
22 
-
23 #ifdef WIN32
+
23 #ifdef _WIN32
24  #define WIN32_LEAN_AND_MEAN
25  #include <windows.h>
26 #else
diff --git a/_image_metadata_8h_source.html b/_image_metadata_8h_source.html index f4aab10..4de5b64 100644 --- a/_image_metadata_8h_source.html +++ b/_image_metadata_8h_source.html @@ -70,9 +70,9 @@
22 
23 #pragma once
24 
-
25 #ifdef WIN32
-
26 // disable exception scpecification warnings in MSVC
-
27 #pragma warning( disable : 4290 )
+
25 #ifdef _MSC_VER
+
26 #pragma warning(push)
+
27 #pragma warning(disable: 4290) // 'C++ exception specification ignored'
28 #endif
29 
30 #include "MMDeviceConstants.h"
@@ -504,7 +504,7 @@
473  if (it->second->ToArrayTag())
474  id = "a";
475  std::string ser = it->second->Serialize();
-
476  os << id << " : " << ser << std::endl;
+
476  os << id << " : " << ser << '\n';
477  }
478 
479  return os.str();
@@ -524,6 +524,10 @@
493  typedef std::map<std::string, MetadataTag*>::iterator TagIter;
494  typedef std::map<std::string, MetadataTag*>::const_iterator TagConstIter;
495 };
+
496 
+
497 #ifdef _MSC_VER
+
498 #pragma warning(pop)
+
499 #endif
MetadataArrayTag
Definition: ImageMetadata.h:203
MetadataArrayTag::ToArrayTag
virtual const MetadataArrayTag * ToArrayTag() const
Definition: ImageMetadata.h:210
MetadataError
Definition: ImageMetadata.h:45
diff --git a/_m_m_device_8h_source.html b/_m_m_device_8h_source.html index a59833c..15dde44 100644 --- a/_m_m_device_8h_source.html +++ b/_m_m_device_8h_source.html @@ -111,7 +111,7 @@
65 # define MM_DEPRECATED(prototype) prototype
66 #endif
67 
-
68 #ifdef WIN32
+
68 #ifdef _WIN32
69  #define WIN32_LEAN_AND_MEAN
70  #include <windows.h>
71 
diff --git a/_module_interface_8h_source.html b/_module_interface_8h_source.html index 62d530d..6abefc3 100644 --- a/_module_interface_8h_source.html +++ b/_module_interface_8h_source.html @@ -77,7 +77,7 @@
29 
30 #include "MMDevice.h"
31 
-
32 #ifdef WIN32
+
32 #ifdef _WIN32
33  #ifdef MODULE_EXPORTS
34  #define MODULE_API __declspec(dllexport)
35  #else