summaryrefslogtreecommitdiff
path: root/src/node_counters.h
diff options
context:
space:
mode:
authorRay Donnelly <mingw.android@gmail.com>2014-08-30 23:51:20 +0100
committerFedor Indutny <fedor@indutny.com>2014-10-10 01:20:04 +0400
commit6f94b3db91710cc00df6ae8ecf14bc9c072f926f (patch)
tree6128ed22729daf6d18a6d602bbbe2419c878fc83 /src/node_counters.h
parent011319e248fedd9a8cdf3af3e954054f4ce4153a (diff)
downloadandroid-node-v8-6f94b3db91710cc00df6ae8ecf14bc9c072f926f.tar.gz
android-node-v8-6f94b3db91710cc00df6ae8ecf14bc9c072f926f.tar.bz2
android-node-v8-6f94b3db91710cc00df6ae8ecf14bc9c072f926f.zip
src: fixes for win32
Update following macros: * NODE_NET_SOCKET_{READ,WRITE}() - they both take 4 arguments, not 2 * NODE_COUNT_GC_PERCENTTIME() - it takes a single argument. Use INT_PTR instead of INT32 in pointer casts in win32_etw provider. PR-URL: https://github.com/joyent/node/pull/8294 Reviewed-By: Fedor Indutny <fedor@indutny.com>
Diffstat (limited to 'src/node_counters.h')
-rw-r--r--src/node_counters.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_counters.h b/src/node_counters.h
index 8340ffcbd2..9a15bd889a 100644
--- a/src/node_counters.h
+++ b/src/node_counters.h
@@ -37,7 +37,7 @@
#define NODE_COUNT_NET_BYTES_SENT(bytes)
#define NODE_COUNT_NET_BYTES_RECV(bytes)
#define NODE_COUNT_GET_GC_RAWTIME()
-#define NODE_COUNT_GC_PERCENTTIME()
+#define NODE_COUNT_GC_PERCENTTIME(percent)
#define NODE_COUNT_PIPE_BYTES_SENT(bytes)
#define NODE_COUNT_PIPE_BYTES_RECV(bytes)
#endif