projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Removed wrong SILC_LOG_ERROR and assert check from silc_idcache_add.
[silc.git]
/
includes
/
silcwin32.h
diff --git
a/includes/silcwin32.h
b/includes/silcwin32.h
index e3f9b4552e781ff5275dbb5d199067f2c0cf281b..41af979413ff5efae53f5d38b2e5e5743e751fee 100644
(file)
--- a/
includes/silcwin32.h
+++ b/
includes/silcwin32.h
@@
-71,4
+71,9
@@
#undef sleep
#define sleep(x) Sleep((x) * 1000)
+#if _MSC_VER < 1300
+#define SetWindowLongPtr SetWindowLong
+#define GetWindowLongPtr GetWindowLong
+#endif /* _MSC_VER < 1300 */
+
#endif