aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-08-29 23:01:31 +0200
committerMattias Andrée <maandree@operamail.com>2015-08-29 23:01:31 +0200
commit841f17b59aac1c6d273f7e053243e6aaf29dc3c4 (patch)
tree8189aa40f8b26d7a22529937235cd6b95615e90c /README
parentadd err.h + add _SLIBC_SUPPRESS_WARNINGS (diff)
downloadslibc-841f17b59aac1c6d273f7e053243e6aaf29dc3c4.tar.gz
slibc-841f17b59aac1c6d273f7e053243e6aaf29dc3c4.tar.bz2
slibc-841f17b59aac1c6d273f7e053243e6aaf29dc3c4.tar.xz
add _PORTABLE_SOURCE
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'README')
-rw-r--r--README9
1 files changed, 9 insertions, 0 deletions
diff --git a/README b/README
index 9475965..35fe6d2 100644
--- a/README
+++ b/README
@@ -5,3 +5,12 @@ slibc does not aim to support C++, or any other
language than C. Furthermore, it does not try
to support older versions of C than C99.
+
+Macro definitions:
+
+ _SLIBC_SOURCE -- Enable slibc extensions.
+ _GNU_SOURCE -- Enable glibc extensions (GNU extensions.)
+ _SLIBC_SUPPRESS_WARNINGS -- Suppress all #warning, this is primarily
+ intended to be used when compiling slibc.
+ _PORTABLE_SOURCE -- Unconditionally disable all extensions.
+