diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-10-17 18:35:59 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-10-17 18:35:59 +0000 |
commit | 42b8aef2ba9a61cde07212ffdf17cb63d0da21e6 (patch) | |
tree | c0c5edce97a24b7d7b1659a2845dd67c0c1be05a | |
parent | 5abc10e1622bcb2a51558fc3845561b89f772333 (diff) |
support glibc/libc6 older than 2.12, see 'man strdup' for more info
svn path=/trunk/externals/loaders/tclpd/; revision=16423
-rw-r--r-- | hashtable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hashtable.h b/hashtable.h index 06c1d3a..6a555a4 100644 --- a/hashtable.h +++ b/hashtable.h @@ -2,7 +2,7 @@ #define HASHTABLE_H_INCLUDED
/* in order to get strdup(), this needs to be defined */
-#define _POSIX_C_SOURCE 200809L
+#define _BSD_SOURCE
#include <stdint.h>
#include <stdlib.h>
|