summaryrefslogtreecommitdiff
path: root/protocols/Xfire
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-09-16 13:47:55 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-09-16 13:47:55 +0000
commit25b8dcd3e31a9b09ce6180d34273d68242791d79 (patch)
tree7070e154406e1ca15577dea410fc7a4c076c22df /protocols/Xfire
parentb80e5c3c33cff078b6e01ef79fd83bb176d6d00a (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/Xfire')
-rw-r--r--protocols/Xfire/src/SHA1.cpp4
-rw-r--r--protocols/Xfire/src/SHA1.h15
2 files changed, 0 insertions, 19 deletions
diff --git a/protocols/Xfire/src/SHA1.cpp b/protocols/Xfire/src/SHA1.cpp
index 31267e43ef..36a3facb28 100644
--- a/protocols/Xfire/src/SHA1.cpp
+++ b/protocols/Xfire/src/SHA1.cpp
@@ -29,11 +29,7 @@
// Rotate x bits to the left
#ifndef ROL32
-#ifdef _MSC_VER
#define ROL32(_val32, _nBits) _rotl(_val32, _nBits)
-#else
-#define ROL32(_val32, _nBits) (((_val32)<<(_nBits))|((_val32)>>(32-(_nBits))))
-#endif
#endif
#ifdef SHA1_LITTLE_ENDIAN
diff --git a/protocols/Xfire/src/SHA1.h b/protocols/Xfire/src/SHA1.h
index b95a00970f..2bb15df86a 100644
--- a/protocols/Xfire/src/SHA1.h
+++ b/protocols/Xfire/src/SHA1.h
@@ -30,9 +30,7 @@
#include <string.h> // Needed for strcat and strcpy
#include <iostream>
-#ifdef _MSC_VER
#include <stdlib.h>
-#endif
// If you're compiling big endian, just comment out the following line
#define SHA1_LITTLE_ENDIAN
@@ -46,22 +44,9 @@
#ifndef UINT_32
-#ifdef _MSC_VER
-
#define UINT_8 unsigned __int8
#define UINT_32 unsigned __int32
-#else
-
-#define UINT_8 unsigned char
-
-#if (ULONG_MAX == 0xFFFFFFFF)
-#define UINT_32 unsigned long
-#else
-#define UINT_32 unsigned int
-#endif
-
-#endif
#endif