mirror of https://github.com/python/cpython.git
Use #if TARGET_API_MAC_CARBON to determine carbon/classic macos, not #ifdef.
This commit is contained in:
parent
fe385251f4
commit
c7050d9bb9
|
@ -20,7 +20,7 @@ const struct filedescr _PyImport_DynLoadFiletab[] = {
|
||||||
#ifdef __CFM68K__
|
#ifdef __CFM68K__
|
||||||
{".CFM68K.slb", "rb", C_EXTENSION},
|
{".CFM68K.slb", "rb", C_EXTENSION},
|
||||||
#else
|
#else
|
||||||
#ifdef TARGET_API_MAC_CARBON
|
#if TARGET_API_MAC_CARBON
|
||||||
{".carbon.slb", "rb", C_EXTENSION},
|
{".carbon.slb", "rb", C_EXTENSION},
|
||||||
#else
|
#else
|
||||||
{".ppc.slb", "rb", C_EXTENSION},
|
{".ppc.slb", "rb", C_EXTENSION},
|
||||||
|
|
Loading…
Reference in New Issue