summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Python/getargs.c4
-rw-r--r--Python/modsupport.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/Python/getargs.c b/Python/getargs.c
index 9fcfb9f..dc852ae 100644
--- a/Python/getargs.c
+++ b/Python/getargs.c
@@ -499,7 +499,7 @@ convertsimple1(arg, p_format, p_va)
break;
}
-#if HAVE_LONG_LONG
+#ifdef HAVE_LONG_LONG
case 'L': /* LONG_LONG */
{
LONG_LONG *p = va_arg( *p_va, LONG_LONG * );
@@ -1027,7 +1027,7 @@ skipitem(p_format, p_va)
break;
}
-#if HAVE_LONG_LONG
+#ifdef HAVE_LONG_LONG
case 'L': /* LONG_LONG int */
{
(void) va_arg(*p_va, LONG_LONG *);
diff --git a/Python/modsupport.c b/Python/modsupport.c
index 9344f4d..f86ca91 100644
--- a/Python/modsupport.c
+++ b/Python/modsupport.c
@@ -291,7 +291,7 @@ do_mkvalue(p_format, p_va)
case 'l':
return PyInt_FromLong((long)va_arg(*p_va, long));
-#if HAVE_LONG_LONG
+#ifdef HAVE_LONG_LONG
case 'L':
return PyLong_FromLongLong((LONG_LONG)va_arg(*p_va, LONG_LONG));
#endif