mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-15 05:44:58 +00:00
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.
22 lines
606 B
C
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 */
|