X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=includes%2Fsilcwin32.h;h=41af979413ff5efae53f5d38b2e5e5743e751fee;hb=4cecb8efad1959aa70f791ef00036b9d61278f18;hp=e3f9b4552e781ff5275dbb5d199067f2c0cf281b;hpb=0f409b11a2b586671712c77d3012a89f35fd3576;p=runtime.git diff --git a/includes/silcwin32.h b/includes/silcwin32.h index e3f9b455..41af9794 100644 --- 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