summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2011-03-04 16:42:20 +0000
committerroot <root>2011-03-04 16:42:20 +0000
commit53749d3bb3c4e99ad5bf24f94a61b6d13190c463 (patch)
tree7c06ac0156532416a8029887d415d920a1c21f99
parentc7b02bccbc5a33c5e14ebe22b87940830bcdaff4 (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