Change rare occurrences of #if HAVE_LONG_LONG to #ifdef.

This commit is contained in:
Guido van Rossum 1999-01-25 21:48:56 +00:00
parent aa8d16761b
commit 3dbba6ec3a
2 changed files with 3 additions and 3 deletions

View File

@ -499,7 +499,7 @@ convertsimple1(arg, p_format, p_va)
break; break;
} }
#if HAVE_LONG_LONG #ifdef HAVE_LONG_LONG
case 'L': /* LONG_LONG */ case 'L': /* LONG_LONG */
{ {
LONG_LONG *p = va_arg( *p_va, LONG_LONG * ); LONG_LONG *p = va_arg( *p_va, LONG_LONG * );
@ -1027,7 +1027,7 @@ skipitem(p_format, p_va)
break; break;
} }
#if HAVE_LONG_LONG #ifdef HAVE_LONG_LONG
case 'L': /* LONG_LONG int */ case 'L': /* LONG_LONG int */
{ {
(void) va_arg(*p_va, LONG_LONG *); (void) va_arg(*p_va, LONG_LONG *);

View File

@ -291,7 +291,7 @@ do_mkvalue(p_format, p_va)
case 'l': case 'l':
return PyInt_FromLong((long)va_arg(*p_va, long)); return PyInt_FromLong((long)va_arg(*p_va, long));
#if HAVE_LONG_LONG #ifdef HAVE_LONG_LONG
case 'L': case 'L':
return PyLong_FromLongLong((LONG_LONG)va_arg(*p_va, LONG_LONG)); return PyLong_FromLongLong((LONG_LONG)va_arg(*p_va, LONG_LONG));
#endif #endif