path: root/hurd/porting/guidelines.mdwn
diff options
Diffstat (limited to 'hurd/porting/guidelines.mdwn')
1 files changed, 2 insertions, 2 deletions
diff --git a/hurd/porting/guidelines.mdwn b/hurd/porting/guidelines.mdwn
index 46a2bf2..3388868 100644
--- a/hurd/porting/guidelines.mdwn
+++ b/hurd/porting/guidelines.mdwn
@@ -181,7 +181,7 @@ Fixed code:
Replace with `getrlimit(RLIMIT_NOFILE,...)`
-## <a name="mach_darwin"> ifdef __MACH__ </a>
+## <a name="mach_darwin"> `#ifdef __MACH__` </a>
Some applications put Apple Darwin-specific code inside `#ifdef __MACH__`
guards. Such guard is clearly not enough, since not only Apple uses Mach as a
@@ -191,7 +191,7 @@ kernel. This should be replaced by `#if defined(__MACH__) && defined(__APPLE__)`
Some applications unconditionally use Darwin-specific functions coming
from `mach/clock.h` to get the clock. This is unnecessarily unportable,
-`clock_gettime` can simply be used instead, and the ifdef __MACH__ guard for the `mach/clock.h`
+`clock_gettime` can simply be used instead, and the `#ifdef __MACH__` guard for the `mach/clock.h`
inclusion be fixed as explained above.
## <a name="GNU_specific_define_tt_"> </a> GNU specific `#define`