Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nemequ/liblzf.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Lehmann <schmorpforge@schmorp.de>2011-03-04 19:42:20 +0300
committerMarc Lehmann <schmorpforge@schmorp.de>2011-03-04 19:42:20 +0300
commitf5863e51e2f81560d3e83e421b8c9754da9c064a (patch)
tree7c06ac0156532416a8029887d415d920a1c21f99
parent907c0136df5b639a4afcd4d8db5ef80edaee3c5c (diff)
*** empty log message ***
-rw-r--r--Changes4
-rw-r--r--lzfP.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/Changes b/Changes
index 93bd4cb..3445969 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,7 @@
+
+ - use _WIN32, not WIN32, when testing for windows (fails with bcc),
+ patch by Tamas Tevesz.
+
3.6 Mon Feb 7 17:37:31 CET 2011
- fixed hash calculation in C♯ version (Tiago Freitas Leal).
- unroll copy for small sizes, use memcpy for larger sizes,
diff --git a/lzfP.h b/lzfP.h
index 7b7feda..cf4af7f 100644
--- a/lzfP.h
+++ b/lzfP.h
@@ -141,7 +141,7 @@ using namespace std;
#endif
#ifndef LZF_USE_OFFSETS
-# if defined (WIN32)
+# if defined (WIN32) || defined (_WIN32)
# define LZF_USE_OFFSETS defined(_M_X64)
# else
# if __cplusplus > 199711L