summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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