aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/gnu.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/gnu.h')
-rw-r--r--gcc/config/gnu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/gnu.h b/gcc/config/gnu.h
index 6b8f36b..825e743 100644
--- a/gcc/config/gnu.h
+++ b/gcc/config/gnu.h
@@ -19,6 +19,10 @@ You should have received a copy of the GNU General Public License
along with GCC. If not, see <http://www.gnu.org/licenses/>.
*/
+/* C libraries used on GNU/Hurd. */
+#define OPTION_GLIBC_P(opts) (DEFAULT_LIBC == LIBC_GLIBC)
+#define OPTION_GLIBC OPTION_GLIBC_P (&global_options)
+
#undef GNU_USER_TARGET_OS_CPP_BUILTINS
#define GNU_USER_TARGET_OS_CPP_BUILTINS() \
do { \