summaryrefslogtreecommitdiff
path: root/gmp-h.in
diff options
context:
space:
mode:
authorMarco Bodrato <bodrato@mail.dm.unipi.it>2012-03-08 10:36:05 +0100
committerMarco Bodrato <bodrato@mail.dm.unipi.it>2012-03-08 10:36:05 +0100
commite967e86cd73d9c8aaba12d1dd533d9a74d6a5cf7 (patch)
tree0407084b0e2626002f0391e7e289870b8bbb600f /gmp-h.in
parent45ede9dfae145b6a181fce72b8c964d8387b8809 (diff)
downloadgmp-e967e86cd73d9c8aaba12d1dd533d9a74d6a5cf7.tar.gz
Removed __GMP_HAVE_PROTOTYPES and GMP_H_ANSI.
Diffstat (limited to 'gmp-h.in')
-rw-r--r--gmp-h.in38
1 files changed, 0 insertions, 38 deletions
diff --git a/gmp-h.in b/gmp-h.in
index 78d5ba45a..a922ccdc7 100644
--- a/gmp-h.in
+++ b/gmp-h.in
@@ -61,44 +61,6 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
#endif
-/* __STDC__ - some ANSI compilers define this only to 0, hence the use of
- "defined" and not "__STDC__-0". In particular Sun workshop C 5.0
- sets __STDC__ to 0, but requires "##" for token pasting.
-
- _AIX - gnu ansidecl.h asserts that all known AIX compilers are ANSI but
- don't always define __STDC__.
-
- __DECC - current versions of DEC C (5.9 for instance) for alpha are ANSI,
- but don't define __STDC__ in their default mode. Don't know if old
- versions might have been K&R, but let's not worry about that unless
- someone is still using one.
-
- _mips - gnu ansidecl.h says the RISC/OS MIPS compiler is ANSI in SVR4
- mode, but doesn't define __STDC__.
-
- _MSC_VER - Microsoft C is ANSI, but __STDC__ is undefined unless the /Za
- option is given (in which case it's 1).
-
- _WIN32 - tested for by gnu ansidecl.h, no doubt on the assumption that
- all w32 compilers are ansi.
-
- Note: This same set of tests is used by gen-psqr.c and
- demos/expr/expr-impl.h, so if anything needs adding, then be sure to
- update those too. */
-
-#if defined (__STDC__) \
- || defined (__cplusplus) \
- || defined (_AIX) \
- || defined (__DECC) \
- || (defined (__mips) && defined (_SYSTYPE_SVR4)) \
- || defined (_MSC_VER) \
- || defined (_WIN32)
-#define __GMP_HAVE_PROTOTYPES 1
-#else
-#define __GMP_HAVE_PROTOTYPES 0
-#endif
-
-
/* __GMP_DECLSPEC supports Windows DLL versions of libgmp, and is empty in
all other circumstances.