[Patches] [ python-Patches-1018291 ] ifdeffery patch
SourceForge.net
noreply at sourceforge.net
Sun Aug 29 17:52:15 CEST 2004
Patches item #1018291, was opened at 2004-08-28 22:05
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1018291&group_id=5470
Category: Core (C code)
Group: Python 2.4
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Ilya Sandler (isandler)
Assigned to: Martin v. Löwis (loewis)
Summary: ifdeffery patch
Initial Comment:
when WITH_TSC is not defined, the patch defines
rdtscll() macro as no-op
#ifndef WITH_TSC
#define rdtscll(var)
...
this allows to remove
#ifdef WITH_TSC brackes from many places of the code
and
#ifdef WITH_TSC
rdtscll(x);
#endif
becomes simply : rdtscll(x)
(see also "#ifdeffery" thread on python-dev)
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2004-08-29 17:52
Message:
Logged In: YES
user_id=21627
Thanks for the patch. Applied as ceval.c 2.416.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1018291&group_id=5470
More information about the Patches
mailing list