summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/m_string.h5
-rw-r--r--src/miranda32_12.vcxproj1
-rw-r--r--src/miranda32_12.vcxproj.filters3
3 files changed, 9 insertions, 0 deletions
diff --git a/include/m_string.h b/include/m_string.h
index 20c9f8dbd0..4660d3e387 100644
--- a/include/m_string.h
+++ b/include/m_string.h
@@ -23,6 +23,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#pragma once
+#ifndef M_STRING_H__
+
+#include <stdio.h>
#include <string.h>
#include <mbstring.h>
#include <wchar.h>
@@ -2220,3 +2223,5 @@ __forceinline int ChTraitsCRT<char>::Format(LPSTR pszBuffer, size_t nlength, LPC
{
return vsprintf_s(pszBuffer, nlength, pszFormat, args);
}
+
+#endif // M_STRING_H__
diff --git a/src/miranda32_12.vcxproj b/src/miranda32_12.vcxproj
index 6ee6727dc9..d799df4f48 100644
--- a/src/miranda32_12.vcxproj
+++ b/src/miranda32_12.vcxproj
@@ -250,6 +250,7 @@
<ClInclude Include="..\include\m_protomod.h" />
<ClInclude Include="..\include\m_protosvc.h" />
<ClInclude Include="..\include\m_skin.h" />
+ <ClInclude Include="..\include\m_string.h" />
<ClInclude Include="..\include\m_system.h" />
<ClInclude Include="..\include\m_system_cpp.h" />
<ClInclude Include="..\include\m_timezones.h" />
diff --git a/src/miranda32_12.vcxproj.filters b/src/miranda32_12.vcxproj.filters
index ae423bc26b..e061bdbf54 100644
--- a/src/miranda32_12.vcxproj.filters
+++ b/src/miranda32_12.vcxproj.filters
@@ -264,6 +264,9 @@
<ClInclude Include="modules\chat\chat.h">
<Filter>Modules\chat</Filter>
</ClInclude>
+ <ClInclude Include="..\include\m_string.h">
+ <Filter>SDK</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="core\commonheaders.cpp">