diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-16 13:47:55 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-16 13:47:55 +0000 |
commit | 25b8dcd3e31a9b09ce6180d34273d68242791d79 (patch) | |
tree | 7070e154406e1ca15577dea410fc7a4c076c22df /protocols/AimOscar | |
parent | b80e5c3c33cff078b6e01ef79fd83bb176d6d00a (diff) |
removed not needed _MSC_VER checks
git-svn-id: http://svn.miranda-ng.org/main/trunk@6085 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/AimOscar')
-rw-r--r-- | protocols/AimOscar/src/conv.cpp | 8 | ||||
-rw-r--r-- | protocols/AimOscar/src/utility.cpp | 6 |
2 files changed, 2 insertions, 12 deletions
diff --git a/protocols/AimOscar/src/conv.cpp b/protocols/AimOscar/src/conv.cpp index f16a90cd84..04f87d068a 100644 --- a/protocols/AimOscar/src/conv.cpp +++ b/protocols/AimOscar/src/conv.cpp @@ -18,9 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "aim.h"
-#ifdef _MSC_VER
- #pragma warning( disable: 4706 )
-#endif
+#pragma warning( disable: 4706 )
char* process_status_msg (const char *str, const char* sn)
{
@@ -901,6 +899,4 @@ aimString::aimString(char* str) }
}
-#ifdef _MSC_VER
- #pragma warning( default: 4706 )
-#endif
+#pragma warning( default: 4706 )
diff --git a/protocols/AimOscar/src/utility.cpp b/protocols/AimOscar/src/utility.cpp index 1ae59c437f..a113ee191d 100644 --- a/protocols/AimOscar/src/utility.cpp +++ b/protocols/AimOscar/src/utility.cpp @@ -558,13 +558,7 @@ int CAimProto::open_contact_file(const char* sn, const TCHAR* file, const char* if (fid < 0)
{
TCHAR errmsg[512];
- #if _MSC_VER > 1200
mir_sntprintf(errmsg, SIZEOF(errmsg), TranslateT("Failed to open file: %s %s"), path, __tcserror(NULL));
- #else
- TCHAR* err = mir_a2t(_strerror(NULL));
- mir_sntprintf(errmsg, SIZEOF(errmsg), TranslateT("Failed to open file: %s %s"), path, err);
- mir_free(err);
- #endif
ShowPopup((char*)errmsg, ERROR_POPUP | TCHAR_POPUP);
}
return fid;
|