diff options
author | tschwinge <tschwinge> | 2008-05-30 00:23:46 +0000 |
---|---|---|
committer | tschwinge <tschwinge> | 2008-05-30 00:23:46 +0000 |
commit | f3a9156db81b8db41a0f91b02547915122e5a46d (patch) | |
tree | 2a7fb6a6974e2d07571e16ca230a5002a6d6892c /hurd/stddef.h | |
parent | ede2930bf63b380b9e5cb7238c146030e9296399 (diff) |
2008-05-29 Thomas Schwinge <tschwinge@gnu.org>
* stddef.h (S_PRINTF, S_PUTCHAR): Also consider [_ENABLE_TESTS].
* headers.m4: Link files into `sysroot/include/' instead of `include/'.
Diffstat (limited to 'hurd/stddef.h')
-rw-r--r-- | hurd/stddef.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hurd/stddef.h b/hurd/stddef.h index 887d7d7..e6b5518 100644 --- a/hurd/stddef.h +++ b/hurd/stddef.h @@ -31,7 +31,7 @@ malloc is not yet working and when the state is suspected to be compromised (e.g., assert or panic). */ #ifndef S_PRINTF -# if defined(RM_INTERN) || defined(_L4_TEST_ENVIRONMENT) +# if defined(RM_INTERN) || defined(_L4_TEST_ENVIRONMENT) || defined(_ENABLE_TESTS) # define S_PRINTF printf # else # define S_PRINTF s_printf @@ -39,7 +39,7 @@ #endif extern int S_PRINTF (const char *fmt, ...); #ifndef S_PUTCHAR -# if defined(RM_INTERN) || defined(_L4_TEST_ENVIRONMENT) +# if defined(RM_INTERN) || defined(_L4_TEST_ENVIRONMENT) || defined(_ENABLE_TESTS) # define S_PUTCHAR putchar # else # define S_PUTCHAR s_putchar |