summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-01-25 21:48:56 (GMT)
committerGuido van Rossum <guido@python.org>1999-01-25 21:48:56 (GMT)
commit3dbba6ec3a065a573216bc79b5e4d655ee0cd899 (patch)
tree633d70e8d7b4af07223afac322a829723b515839 /Python
parentaa8d16761b6e2dfe9a5c7596f07f96a9cd96dff1 (diff)
downloadcpython-3dbba6ec3a065a573216bc79b5e4d655ee0cd899.zip
cpython-3dbba6ec3a065a573216bc79b5e4d655ee0cd899.tar.gz
cpython-3dbba6ec3a065a573216bc79b5e4d655ee0cd899.tar.bz2
Change rare occurrences of #if HAVE_LONG_LONG to #ifdef.
Diffstat (limited to 'Python')
-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