summaryrefslogtreecommitdiff
path: root/uconfig.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-08-12 11:51:25 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-08-12 11:51:25 +0000
commit2f42fcb0c2cd8c2699589848aee7b8ee07b30c4f (patch)
treeada8ea9f2ed4be699d066737eab622e87b4ba42c /uconfig.h
parenta25ef67de93be431e21193a0e7ed5fca8bc883f7 (diff)
downloadperl-2f42fcb0c2cd8c2699589848aee7b8ee07b30c4f.tar.gz
Apply much of Ilya's microperl patch, but instead of
implementing the opendir()/readdir()/closedir() using external commands give up "ANSI-pureness" and define them in uconfig.sh, also define other stuff like rename() and putenv(). Leave out the $| emulation in my_fork() since we are not supposed to have fork() under microperl. p4raw-id: //depot/perl@20646
Diffstat (limited to 'uconfig.h')
-rw-r--r--uconfig.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/uconfig.h b/uconfig.h
index 5f912ee9bf..ae3467b858 100644
--- a/uconfig.h
+++ b/uconfig.h
@@ -361,7 +361,7 @@
* available to read directory entries. You may have to include
* <dirent.h>. See I_DIRENT.
*/
-/*#define HAS_READDIR / **/
+#define HAS_READDIR /**/
/* HAS_SEEKDIR:
* This symbol, if defined, indicates that the seekdir routine is
@@ -392,7 +392,7 @@
* to rename files. Otherwise you should do the unlink(), link(), unlink()
* trick.
*/
-/*#define HAS_RENAME / **/
+#define HAS_RENAME /**/
/* HAS_RMDIR:
* This symbol, if defined, indicates that the rmdir routine is
@@ -663,7 +663,7 @@
* whether dirent is available or not. You should use this pseudo type to
* portably declare your directory entries.
*/
-/*#define I_DIRENT / **/
+#define I_DIRENT /**/
/*#define DIRNAMLEN / **/
#define Direntry_t struct dirent
@@ -738,7 +738,7 @@
* This symbol, if defined, indicates that <stdlib.h> exists and should
* be included.
*/
-/*#define I_STDLIB / **/
+#define I_STDLIB /**/
/* I_STRING:
* This symbol, if defined, indicates to the C program that it should
@@ -1999,7 +1999,7 @@
* This symbol, if defined, indicates that the strtoul routine is
* available to provide conversion of strings to unsigned long.
*/
-/*#define HAS_STRTOUL / **/
+#define HAS_STRTOUL /**/
/* HAS_UNION_SEMUN:
* This symbol, if defined, indicates that the union semun is