Files
mercury/runtime/mercury_runtime_util.h
Simon Taylor c66cea0665 Add MR_ prefixes to uses of configuration macros.
Estimated hours taken: 2.5
Branches: main

Add MR_ prefixes to uses of configuration macros.
Bootcheck now succeeds with MR_NO_CONF_BACKWARDS_COMPAT.

Mmake.common.in:
	Define MR_NO_CONF_BACKWARDS_COMPAT when checking
	for namespace cleanliness.

RESERVED_MACRO_NAMES:
	Remove the configuration macros.

runtime/mercury_conf_bootstrap.h:
	Remove a duplicate definition of BOXED_FLOAT.

configure.in:
*/*.c:
*/*.h:
*/*.m:
	Add MR_ prefixes.
2002-02-13 09:56:49 +00:00

22 lines
606 B
C

/*
** Copyright (C) 2001 The University of Melbourne.
** This file may only be copied under the terms of the GNU Library General
** Public License - see the file COPYING.LIB in the Mercury distribution.
*/
#ifndef MERCURY_RUNTIME_UTIL_H
#define MERCURY_RUNTIME_UTIL_H
#include <stdio.h>
#ifndef MR_HAVE_STRERROR
extern char *strerror(int errnum);
#endif
extern FILE *MR_checked_fopen(const char *filename, const char *message,
const char *mode);
extern void MR_checked_fclose(FILE *file, const char *filename);
extern void MR_checked_atexit(void (*func)(void));
#endif /* MERCURY_RUNTIME_UTIL_H */