diff options
author | Karl Berry <karl@freefriends.org> | 2011-06-20 17:32:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-06-20 17:32:21 +0000 |
commit | 2a9c9ecb186de2601eb23799765eccb4a8f74a62 (patch) | |
tree | 7fa1916d030bec7fdd7aff8d0e959b80c0c913e5 /Build/source/utils/asymptote/prc | |
parent | 58355d1eebbecbe65dbc12befdd5cd7ea167b04f (diff) |
asy 2.13 sources
git-svn-id: svn://tug.org/texlive/trunk@23067 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/prc')
-rw-r--r-- | Build/source/utils/asymptote/prc/PRCdouble.cc | 2 | ||||
-rw-r--r-- | Build/source/utils/asymptote/prc/PRCdouble.h | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/prc/PRCdouble.cc b/Build/source/utils/asymptote/prc/PRCdouble.cc index 9a1668ab007..69d4b02f160 100644 --- a/Build/source/utils/asymptote/prc/PRCdouble.cc +++ b/Build/source/utils/asymptote/prc/PRCdouble.cc @@ -23,6 +23,7 @@ int stCOFDOECompare(const void* pcofdoe1,const void* pcofdoe2) } #ifdef WORDS_BIGENDIAN +#ifndef HAVE_MEMRCHR void *memrchr(const void *buf,int c,size_t count) { unsigned char @@ -36,6 +37,7 @@ void *memrchr(const void *buf,int c,size_t count) return(NULL); } #endif +#endif sCodageOfFrequentDoubleOrExponent acofdoe[NUMBEROFELEMENTINACOFDOE] = { diff --git a/Build/source/utils/asymptote/prc/PRCdouble.h b/Build/source/utils/asymptote/prc/PRCdouble.h index f05b2c8e5ec..4a3a79dccc5 100644 --- a/Build/source/utils/asymptote/prc/PRCdouble.h +++ b/Build/source/utils/asymptote/prc/PRCdouble.h @@ -131,4 +131,10 @@ struct sCodageOfFrequentDoubleOrExponent* getcofdoe(unsigned,short); int stCOFDOECompare(const void*,const void*); +#ifdef WORDS_BIGENDIAN +#ifndef HAVE_MEMRCHR +void *memrchr(const void *,int,size_t); +#endif +#endif + #endif // __PRC_DOUBLE_H |