Revision: 903
Author: tim.bunce
Date: Sat Nov 14 14:58:25 2009
Log: Add #ifdef for OP_SAY

http://code.google.com/p/perl-devel-nytprof/source/detail?r=903

Modified:
  /trunk/slowops.h

=======================================
--- /trunk/slowops.h    Sat Nov 14 13:27:29 2009
+++ /trunk/slowops.h    Sat Nov 14 14:58:25 2009
@@ -105,7 +105,9 @@
  PL_ppaddr[OP_RENAME] = pp_slowop_profiler;
  PL_ppaddr[OP_REWINDDIR] = pp_slowop_profiler;
  PL_ppaddr[OP_RMDIR] = pp_slowop_profiler;
+#if (PERL_VERSION >= 10)
  PL_ppaddr[OP_SAY] = pp_slowop_profiler;
+#endif
  PL_ppaddr[OP_SEEK] = pp_slowop_profiler;
  PL_ppaddr[OP_SEEKDIR] = pp_slowop_profiler;
  PL_ppaddr[OP_SELECT] = pp_slowop_profiler;

-- 
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.

Group hosted at:  http://groups.google.com/group/develnytprof-dev
Project hosted at:  http://perl-devel-nytprof.googlecode.com
CPAN distribution:  http://search.cpan.org/dist/Devel-NYTProf

To post, email:  [email protected]
To unsubscribe, email:  [email protected]

Reply via email to