summaryrefslogtreecommitdiff
path: root/XSUB.h
diff options
context:
space:
mode:
Diffstat (limited to 'XSUB.h')
-rw-r--r--XSUB.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/XSUB.h b/XSUB.h
index a137c42ab9..9832b7d5e1 100644
--- a/XSUB.h
+++ b/XSUB.h
@@ -83,7 +83,7 @@ is a lexical $_ in scope.
*/
#ifndef PERL_UNUSED_ARG
-# ifdef lint
+# if defined(lint) && defined(S_SPLINT_S) /* www.splint.org */
# include <note.h>
# define PERL_UNUSED_ARG(x) NOTE(ARGUNUSED(x))
# else
@@ -119,7 +119,7 @@ is a lexical $_ in scope.
#define dITEMS I32 items = SP - MARK
-#ifdef lint
+#if defined(lint) && defined(S_SPLINT_S) /* www.splint.org */
# define dXSARGS \
NOTE(ARGUNUSED(cv)) \
dSP; dAXMARK; dITEMS