X-Git-Url: http://git.silcnet.org/gitweb/?p=crypto.git;a=blobdiff_plain;f=includes%2Fsilcwin32.h;h=41af979413ff5efae53f5d38b2e5e5743e751fee;hp=e3f9b4552e781ff5275dbb5d199067f2c0cf281b;hb=b2474cb7c3ac99b799b99bab950f207d1e2d2dcb;hpb=64f6b534afd44bdf40d647331465bb386164f73a 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