diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-02-01 10:27:57 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-02-01 10:27:57 +0100 |
commit | 2dbdfe8ac73be7468e6dacc03ecf64549ed48aba (patch) | |
tree | 778510c1ee61fdc4b93adffdab230c2c83af9502 /sys/src/cmd/python | |
parent | 56343cafcfb47a4ef3fff0d6a8e3220ecd93518b (diff) |
python: amd64 support
Diffstat (limited to 'sys/src/cmd/python')
-rw-r--r-- | sys/src/cmd/python/plan9.c | 2 | ||||
-rw-r--r-- | sys/src/cmd/python/pyconfig.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/sys/src/cmd/python/plan9.c b/sys/src/cmd/python/plan9.c index 783632423..6e6912e28 100644 --- a/sys/src/cmd/python/plan9.c +++ b/sys/src/cmd/python/plan9.c @@ -17,8 +17,6 @@ main(int argc, char **argv) setfcr(getfcr()&~(1<<0)); #elif defined(Tarm) setfsr(getfsr()&~(1<<16)); -#else -Error define code for disabling fp exceptions for your arch. #endif memset(&ta, 0, sizeof ta); diff --git a/sys/src/cmd/python/pyconfig.h b/sys/src/cmd/python/pyconfig.h index 712e65653..04ca804b2 100644 --- a/sys/src/cmd/python/pyconfig.h +++ b/sys/src/cmd/python/pyconfig.h @@ -17,7 +17,7 @@ typedef struct Threadarg Threadarg; -#if defined(T386) || defined(Talpha) || defined(Tarm) || defined(Tpower) +#if defined(T386) || defined(Talpha) || defined(Tarm) || defined(Tpower) || defined(Tamd64) #undef WORDS_BIGENDIAN #elif defined(Tmips) || defined(Tsparc) #define WORDS_BIGENDIAN |