diff options
Diffstat (limited to 'windirstat/stdafx.cpp')
-rw-r--r-- | windirstat/stdafx.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/windirstat/stdafx.cpp b/windirstat/stdafx.cpp index d469c3e..d3bf4dd 100644 --- a/windirstat/stdafx.cpp +++ b/windirstat/stdafx.cpp @@ -23,7 +23,11 @@ #if !defined(HAVE_WIN7_SDK) || !HAVE_WIN7_SDK
# if _MSC_VER <= 1500
-# pragma message ("WARNING: You're building a feature-incomplete WinDirStat ('#define HAVE_WIN7_SDK' missing or 0). Refer to https://bitbucket.org/windirstat/windirstat/wiki/Building for details on how to build with this version of Visual Studio.")
+# if !defined(_ANSISTRING) || !defined(ANSISTRING)
+# define _ANSISTRING(text) #text
+# define ANSISTRING(text) _ANSISTRING(text)
+# endif
+# pragma message (ANSISTRING(__FILE__) "(" ANSISTRING(__LINE__) ") : warning: You're building a feature-incomplete WinDirStat ('#define HAVE_WIN7_SDK' missing or 0). Refer to https://bitbucket.org/windirstat/windirstat/wiki/Building for details on how to build with this version of Visual Studio.")
# endif // Visual C/C++ 2008 and below
#endif // HAVE_WIN7_SDK
|