Tom N Harris <telliamed@...> writes: > > On Thursday, August 22, 2013 08:29:08 PM Alexey Melnichuk wrote: > > This code work for ether Win2k or WinXP. But on Win2k I just do not support > > process_get_pid function at all. > > What you should be doing then is using GetProcAddress to dynamically test for > the availability of the function. You could also provide two rockpsecs. Or > just stop supporting a 12-year old operating system. >
1. I want get compile time error. 2. After that i can read msdn and find new way or just i refuse from support my code on this platform. But still i need to detect what runtime API i have at compile-time and provide different implementation for them. PS. I still use servers with NT4 and they work very well :). ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers