diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-10-26 11:31:12 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-10-26 11:36:21 -0700 |
commit | b3ddb895d2e3dc983d6f40dc95179dc7eda3440e (patch) | |
tree | 49ad9df2518c2f7bc632c77329f98d2d63784274 /src | |
parent | 3961b5a13131c473047ed2826653934d541a089d (diff) | |
download | nodejs-b3ddb895d2e3dc983d6f40dc95179dc7eda3440e.tar.gz nodejs-b3ddb895d2e3dc983d6f40dc95179dc7eda3440e.tar.bz2 nodejs-b3ddb895d2e3dc983d6f40dc95179dc7eda3440e.zip |
Don't compile in node_dtrace.cc when not supported
Diffstat (limited to 'src')
-rw-r--r-- | src/node.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/node.cc b/src/node.cc index 46d2a796c..f846115c7 100644 --- a/src/node.cc +++ b/src/node.cc @@ -24,7 +24,9 @@ #include <uv.h> #include <v8-debug.h> -#include <node_dtrace.h> +#ifdef HAVE_DTRACE +# include <node_dtrace.h> +#endif #include <locale.h> #include <signal.h> |