summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Leadbeater <dgl@dgl.cx>2011-03-07 19:26:20 +0000
committerNicholas Clark <nick@ccl4.org>2011-03-28 10:21:47 +0100
commit59ac522e488717ff99fce2e55d82894e92102a98 (patch)
treeac8c1f11584d83e32e67cbd4da4705c237fd4228
parent2e55877c6e0b0cecd3f80c62b3b3f456cdb22c81 (diff)
downloadperl-59ac522e488717ff99fce2e55d82894e92102a98.tar.gz
Define memset() for microperl
-rw-r--r--README.micro2
-rw-r--r--uconfig.h4
-rw-r--r--uconfig.sh2
3 files changed, 4 insertions, 4 deletions
diff --git a/README.micro b/README.micro
index c51c18520d..412b95287b 100644
--- a/README.micro
+++ b/README.micro
@@ -10,7 +10,7 @@ We assume ANSI C89 plus the following:
- <stddef.h>, <stdlib.h>
- rename()
- opendir(), readdir(), closedir() (via dirent.h)
-- memchr(), memcmp(), memcpy() (via string.h)
+- memchr(), memcmp(), memcpy(), memset() (via string.h)
- (a safe) putenv() (via stdlib.h)
- strtoul() (via stdlib.h)
(grep for 'define' in uconfig.sh.)
diff --git a/uconfig.h b/uconfig.h
index ba2104be5b..04612f3ba7 100644
--- a/uconfig.h
+++ b/uconfig.h
@@ -280,7 +280,7 @@
* This symbol, if defined, indicates that the memset routine is available
* to set blocks of memory.
*/
-/*#define HAS_MEMSET / **/
+#define HAS_MEMSET /**/
/* HAS_MKDIR:
* This symbol, if defined, indicates that the mkdir routine is available
@@ -4687,5 +4687,5 @@
/* Generated from:
* 323778627146f2762cd41f4dd1db6659f59006ec9bcaaf6bcc645d0380dda938 config_h.SH
- * 2cdfa76d1081a21ef8613b40d1cf699548c8347531c5e8358469f5bb52db6a44 uconfig.sh
+ * 90b7a3f95ddf0116391ca50b622a54eb7f8b4268aebfe9ab052bd22978c94c54 uconfig.sh
* ex: set ro: */
diff --git a/uconfig.sh b/uconfig.sh
index 097e07baa2..a4f579e676 100644
--- a/uconfig.sh
+++ b/uconfig.sh
@@ -251,7 +251,7 @@ d_memchr='define'
d_memcmp='define'
d_memcpy='define'
d_memmove='undef'
-d_memset='undef'
+d_memset='define'
d_mkdir='undef'
d_mkdtemp='undef'
d_mkfifo='undef'