From e763c28e9aabc10660f5085e6af69de80ab71c9a Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 30 Jan 2014 23:26:27 +0100 Subject: mention IUCLC being a GNU extension --- hurd/porting/guidelines.mdwn | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'hurd') diff --git a/hurd/porting/guidelines.mdwn b/hurd/porting/guidelines.mdwn index d28a777e..e029744d 100644 --- a/hurd/porting/guidelines.mdwn +++ b/hurd/porting/guidelines.mdwn @@ -317,6 +317,10 @@ Use instead. This is not actually standard; cfsetspeed, cfsetispeed, or cfsetospeed should be used instead. +## IUCLC + +IUCLC is a GNU extension. `#define _GNU_SOURCE' thus has to be used to get the definition (even if Linux unconditionally provides it, it should not). + ## `errno` values When dealing with `errno`, you should always use the predefined error codes defined with the `E*` constants, instead of manually comparing/assigning/etc with their values. -- cgit v1.2.3