windows: fix perfctr crash on XP and 2003
authorScott Blomquist <sblom@microsoft.com>
Thu, 3 Jan 2013 02:06:41 +0000 (18:06 -0800)
committerBert Belder <bertbelder@gmail.com>
Thu, 3 Jan 2013 22:31:26 +0000 (23:31 +0100)
commit5a39df49593a862d0de9ef01db2f83e23b2fd67f
treee30ac072b6c9bed7d751ce2fefafdd573a762a1c
parenta7d8c21bca112a83a711b89e432a2486f0049557
windows: fix perfctr crash on XP and 2003

Some performance counter related functions are not available on Windows
XP and Windows Server 2003, which caused node to call a NULL pointer.

Closes #4462
Closes #4511
src/node_win32_perfctr_provider.cc