mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-05-01 09:14:08 +00:00
RESERVED_MACRO_NAMES:
*/RESERVED_MACRO_NAMES:
Add a macro, _FORTIFY_SOURCE, that gcc defines by default on some recent
versions of Linux.
I could have added it in SIX separate RESERVED_MACRO_NAMES files.
Instead, I moved the content common to all these files to a
RESERVED_MACRO_NAMES file in the top directory, leaving the
RESERVED_MACRO_NAMES files of the subdirectories containing only
macros that *don't* occur in all those subdirectories.
tools/bootcheck:
Copy the top-level RESERVED_MACRO_NAMES names to the stage 2 directory.
Mmake.common.in:
Filter out the contents of the top level RESERVED_MACRO_NAMES file,
as well as the RESERVED_MACRO_NAMES file in the current directory.
25 lines
1.2 KiB
Plaintext
25 lines
1.2 KiB
Plaintext
#-----------------------------------------------------------------------------#
|
|
# Copyright (C) 2000-2004, 2006, 2011 The University of Melbourne.
|
|
# This file may only be copied under the terms of the GNU General
|
|
# Public License - see the file COPYING in the Mercury distribution.
|
|
#-----------------------------------------------------------------------------#
|
|
#
|
|
# RESERVED_MACRO_NAMES
|
|
#
|
|
# For the purpose of this file, see the top of RESERVED_MACRO_NAMES in the top
|
|
# directory.
|
|
#
|
|
#-----------------------------------------------------------------------------#
|
|
# These are defined in exception.m. They are used to map this set of six
|
|
# names, one for each declared mode of builtin.catch/3, down to the three
|
|
# functions that actually implement them (the modes for a given code model
|
|
# have identical implementations). The initial mercury__ prefix puts these
|
|
# macros into name space reserved for Mercury anyway.
|
|
mercury__exception__builtin_catch_3_p_0
|
|
mercury__exception__builtin_catch_3_p_1
|
|
mercury__exception__builtin_catch_3_p_2
|
|
mercury__exception__builtin_catch_3_p_3
|
|
mercury__exception__builtin_catch_3_p_4
|
|
mercury__exception__builtin_catch_3_p_5
|
|
#-----------------------------------------------------------------------------#
|