summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-09-25 10:25:00 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-09-25 10:25:00 +0000
commit327c366704cde8b5db1271437c24407685d88228 (patch)
tree6cf396353f712e79faea59cc39239aa5c44c5376 /win32
parent5ff3f7a4e03a6b103d9e628865398e498e9a7968 (diff)
downloadperl-327c366704cde8b5db1271437c24407685d88228.tar.gz
update template config.sh, add new config vars to win32 stuff
p4raw-id: //depot/perl@1890
Diffstat (limited to 'win32')
-rw-r--r--win32/config.bc43
-rw-r--r--win32/config.gc43
-rw-r--r--win32/config.vc43
-rw-r--r--win32/config_H.bc463
-rw-r--r--win32/config_H.gc463
-rw-r--r--win32/config_H.vc463
-rw-r--r--win32/win32.h9
7 files changed, 1167 insertions, 360 deletions
diff --git a/win32/config.bc b/win32/config.bc
index 95a5da031c..a179797dee 100644
--- a/win32/config.bc
+++ b/win32/config.bc
@@ -65,6 +65,7 @@ cryptlib=''
csh='undef'
d_Gconvert='gcvt((x),(n),(b))'
d_access='define'
+d_accessx='undef'
d_alarm='undef'
d_archlib='define'
d_attribut='undef'
@@ -86,13 +87,18 @@ d_crypt='undef'
d_csh='undef'
d_cuserid='undef'
d_dbl_dig='define'
+d_dbmclose64='undef'
+d_dbminit64='undef'
+d_delete64='undef'
d_difftime='define'
+d_dirent64s='undef'
d_dirnamlen='define'
d_dlerror='define'
d_dlopen='define'
d_dlsymun='undef'
d_dosuid='undef'
d_dup2='define'
+d_eaccess='undef'
d_endgrent='undef'
d_endhent='undef'
d_endnent='undef'
@@ -107,13 +113,28 @@ d_fcntl='undef'
d_fd_macros='define'
d_fd_set='define'
d_fds_bits='define'
+d_fetch64='undef'
d_fgetpos='define'
+d_fgetpos64='undef'
+d_firstkey64='undef'
d_flexfnam='define'
d_flock='define'
+d_flock64s='undef'
+d_fopen64='undef'
d_fork='undef'
d_fpathconf='undef'
+d_freopen64='undef'
+d_fseek64='undef'
+d_fseeko='undef'
+d_fseeko64='undef'
d_fsetpos='define'
+d_fsetpos64='undef'
+d_fstat64='undef'
+d_ftell64='undef'
+d_ftello='undef'
+d_ftello64='undef'
d_ftime='define'
+d_ftruncate64='undef'
d_getgrent='undef'
d_getgrps='undef'
d_gethbyaddr='define'
@@ -146,15 +167,20 @@ d_gnulibc='undef'
d_htonl='define'
d_index='undef'
d_inetaton='undef'
+d_ino64t='undef'
+d_int64t='undef'
d_isascii='define'
d_killpg='undef'
d_lchown='undef'
d_link='undef'
d_locconv='define'
d_lockf='undef'
+d_lockf64='undef'
d_longdbl='define'
d_longlong='undef'
+d_lseek64='undef'
d_lstat='undef'
+d_lstat64='undef'
d_mblen='define'
d_mbstowcs='define'
d_mbtowc='define'
@@ -171,10 +197,14 @@ d_msgget='undef'
d_msgrcv='undef'
d_msgsnd='undef'
d_mymalloc='undef'
+d_nextkey64='undef'
d_nice='undef'
+d_off64t='undef'
d_oldpthreads='undef'
d_oldsock='undef'
d_open3='undef'
+d_open64='undef'
+d_opendir64='undef'
d_pathconf='undef'
d_pause='define'
d_phostname='undef'
@@ -192,6 +222,7 @@ d_pwgecos='undef'
d_pwquota='undef'
d_pwpasswd='undef'
d_readdir='define'
+d_readdir64='undef'
d_readlink='undef'
d_rename='define'
d_rewinddir='define'
@@ -201,6 +232,7 @@ d_safemcpy='undef'
d_sanemcmp='define'
d_sched_yield='undef'
d_seekdir='define'
+d_seekdir64='undef'
d_select='define'
d_sem='undef'
d_semctl='undef'
@@ -242,11 +274,13 @@ d_sigaction='undef'
d_sigsetjmp='undef'
d_socket='define'
d_sockpair='undef'
+d_stat64='undef'
d_statblks='undef'
d_stdio_cnt_lval='define'
d_stdio_ptr_lval='define'
d_stdiobase='define'
d_stdstdio='define'
+d_store64='undef'
d_strchr='define'
d_strcoll='define'
d_strctcpy='define'
@@ -266,9 +300,12 @@ d_system='define'
d_tcgetpgrp='undef'
d_tcsetpgrp='undef'
d_telldir='define'
+d_telldir64='undef'
d_time='define'
d_times='define'
+d_tmpfile64='undef'
d_truncate='undef'
+d_truncate64='undef'
d_tzname='define'
d_umask='define'
d_uname='undef'
@@ -332,6 +369,7 @@ i_fcntl='define'
i_float='define'
i_gdbm='undef'
i_grp='undef'
+i_inttypes='undef'
i_limits='define'
i_locale='define'
i_malloc='define'
@@ -349,6 +387,7 @@ i_stdarg='define'
i_stddef='define'
i_stdlib='define'
i_string='define'
+i_sysaccess='undef'
i_sysdir='undef'
i_sysfile='undef'
i_sysfilio='define'
@@ -357,6 +396,7 @@ i_sysioctl='undef'
i_sysndir='undef'
i_sysparam='undef'
i_sysresrc='undef'
+i_syssecrt='undef'
i_sysselct='undef'
i_syssockio=''
i_sysstat='define'
@@ -414,6 +454,7 @@ longsize='4'
lp=''
lpr=''
ls='dir'
+lseeksize='4'
lseektype='off_t'
mail=''
mailx=''
@@ -485,6 +526,7 @@ runnm='true'
scriptdir='~INST_TOP~~INST_VER~\bin'
scriptdirexp='~INST_TOP~~INST_VER~\bin'
sed='sed'
+selectminbits='32'
selecttype='Perl_fd_set *'
sendmail='blat'
sh='cmd /x /c'
@@ -542,6 +584,7 @@ troff=''
uidtype='uid_t'
uname='uname'
uniq='uniq'
+use64bits='undef'
usedl='define'
usemymalloc='n'
usenm='false'
diff --git a/win32/config.gc b/win32/config.gc
index 0e6d1e729f..1723f0b4c5 100644
--- a/win32/config.gc
+++ b/win32/config.gc
@@ -65,6 +65,7 @@ cryptlib=''
csh='undef'
d_Gconvert='sprintf((b),"%.*g",(n),(x))'
d_access='define'
+d_accessx='undef'
d_alarm='undef'
d_archlib='define'
d_attribut='define'
@@ -86,13 +87,18 @@ d_crypt='undef'
d_csh='undef'
d_cuserid='undef'
d_dbl_dig='define'
+d_dbmclose64='undef'
+d_dbminit64='undef'
+d_delete64='undef'
d_difftime='define'
+d_dirent64s='undef'
d_dirnamlen='define'
d_dlerror='define'
d_dlopen='define'
d_dlsymun='undef'
d_dosuid='undef'
d_dup2='define'
+d_eaccess='undef'
d_endgrent='undef'
d_endhent='undef'
d_endnent='undef'
@@ -107,13 +113,28 @@ d_fcntl='undef'
d_fd_macros='define'
d_fd_set='define'
d_fds_bits='define'
+d_fetch64='undef'
d_fgetpos='define'
+d_fgetpos64='undef'
+d_firstkey64='undef'
d_flexfnam='define'
d_flock='define'
+d_flock64s='undef'
+d_fopen64='undef'
d_fork='undef'
d_fpathconf='undef'
+d_freopen64='undef'
+d_fseek64='undef'
+d_fseeko='undef'
+d_fseeko64='undef'
d_fsetpos='define'
+d_fsetpos64='undef'
+d_fstat64='undef'
+d_ftell64='undef'
+d_ftello='undef'
+d_ftello64='undef'
d_ftime='define'
+d_ftruncate64='undef'
d_getgrent='undef'
d_getgrps='undef'
d_gethbyaddr='define'
@@ -146,15 +167,20 @@ d_gnulibc='undef'
d_htonl='define'
d_index='undef'
d_inetaton='undef'
+d_ino64t='undef'
+d_int64t='undef'
d_isascii='define'
d_killpg='undef'
d_lchown='undef'
d_link='undef'
d_locconv='define'
d_lockf='undef'
+d_lockf64='undef'
d_longdbl='define'
d_longlong='undef'
+d_lseek64='undef'
d_lstat='undef'
+d_lstat64='undef'
d_mblen='define'
d_mbstowcs='define'
d_mbtowc='define'
@@ -171,10 +197,14 @@ d_msgget='undef'
d_msgrcv='undef'
d_msgsnd='undef'
d_mymalloc='undef'
+d_nextkey64='undef'
d_nice='undef'
+d_off64t='undef'
d_oldpthreads='undef'
d_oldsock='undef'
d_open3='undef'
+d_open64='undef'
+d_opendir64='undef'
d_pathconf='undef'
d_pause='define'
d_phostname='undef'
@@ -192,6 +222,7 @@ d_pwgecos='undef'
d_pwquota='undef'
d_pwpasswd='undef'
d_readdir='define'
+d_readdir64='undef'
d_readlink='undef'
d_rename='define'
d_rewinddir='define'
@@ -201,6 +232,7 @@ d_safemcpy='undef'
d_sanemcmp='define'
d_sched_yield='undef'
d_seekdir='define'
+d_seekdir64='undef'
d_select='define'
d_sem='undef'
d_semctl='undef'
@@ -242,11 +274,13 @@ d_sigaction='undef'
d_sigsetjmp='undef'
d_socket='define'
d_sockpair='undef'
+d_stat64='undef'
d_statblks='undef'
d_stdio_cnt_lval='define'
d_stdio_ptr_lval='define'
d_stdiobase='undef'
d_stdstdio='undef'
+d_store64='undef'
d_strchr='define'
d_strcoll='define'
d_strctcpy='define'
@@ -266,9 +300,12 @@ d_system='define'
d_tcgetpgrp='undef'
d_tcsetpgrp='undef'
d_telldir='define'
+d_telldir64='undef'
d_time='define'
d_times='define'
+d_tmpfile64='undef'
d_truncate='undef'
+d_truncate64='undef'
d_tzname='undef'
d_umask='define'
d_uname='undef'
@@ -332,6 +369,7 @@ i_fcntl='define'
i_float='define'
i_gdbm='undef'
i_grp='undef'
+i_inttypes='undef'
i_limits='define'
i_locale='define'
i_malloc='define'
@@ -349,6 +387,7 @@ i_stdarg='define'
i_stddef='define'
i_stdlib='define'
i_string='define'
+i_sysaccess='undef'
i_sysdir='undef'
i_sysfile='undef'
i_sysfilio='define'
@@ -357,6 +396,7 @@ i_sysioctl='undef'
i_sysndir='undef'
i_sysparam='undef'
i_sysresrc='undef'
+i_syssecrt='undef'
i_sysselct='undef'
i_syssockio=''
i_sysstat='define'
@@ -414,6 +454,7 @@ longsize='4'
lp=''
lpr=''
ls='dir'
+lseeksize='4'
lseektype='off_t'
mail=''
mailx=''
@@ -485,6 +526,7 @@ runnm='true'
scriptdir='~INST_TOP~~INST_VER~\bin'
scriptdirexp='~INST_TOP~~INST_VER~\bin'
sed='sed'
+selectminbits='32'
selecttype='Perl_fd_set *'
sendmail='blat'
sh='cmd /x /c'
@@ -542,6 +584,7 @@ troff=''
uidtype='uid_t'
uname='uname'
uniq='uniq'
+use64bits='undef'
usedl='define'
usemymalloc='n'
usenm='false'
diff --git a/win32/config.vc b/win32/config.vc
index 41c713bcef..3ee12fb26f 100644
--- a/win32/config.vc
+++ b/win32/config.vc
@@ -65,6 +65,7 @@ cryptlib=''
csh='undef'
d_Gconvert='sprintf((b),"%.*g",(n),(x))'
d_access='define'
+d_accessx='undef'
d_alarm='undef'
d_archlib='define'
d_attribut='undef'
@@ -86,13 +87,18 @@ d_crypt='undef'
d_csh='undef'
d_cuserid='undef'
d_dbl_dig='define'
+d_dbmclose64='undef'
+d_dbminit64='undef'
+d_delete64='undef'
d_difftime='define'
+d_dirent64s='undef'
d_dirnamlen='define'
d_dlerror='define'
d_dlopen='define'
d_dlsymun='undef'
d_dosuid='undef'
d_dup2='define'
+d_eaccess='undef'
d_endgrent='undef'
d_endhent='undef'
d_endnent='undef'
@@ -107,13 +113,28 @@ d_fcntl='undef'
d_fd_macros='define'
d_fd_set='define'
d_fds_bits='define'
+d_fetch64='undef'
d_fgetpos='define'
+d_fgetpos64='undef'
+d_firstkey64='undef'
d_flexfnam='define'
d_flock='define'
+d_flock64s='undef'
+d_fopen64='undef'
d_fork='undef'
d_fpathconf='undef'
+d_freopen64='undef'
+d_fseek64='undef'
+d_fseeko='undef'
+d_fseeko64='undef'
d_fsetpos='define'
+d_fsetpos64='undef'
+d_fstat64='undef'
+d_ftell64='undef'
+d_ftello='undef'
+d_ftello64='undef'
d_ftime='define'
+d_ftruncate64='undef'
d_getgrent='undef'
d_getgrps='undef'
d_gethbyaddr='define'
@@ -146,15 +167,20 @@ d_gnulibc='undef'
d_htonl='define'
d_index='undef'
d_inetaton='undef'
+d_ino64t='undef'
+d_int64t='undef'
d_isascii='define'
d_killpg='undef'
d_lchown='undef'
d_link='undef'
d_locconv='define'
d_lockf='undef'
+d_lockf64='undef'
d_longdbl='define'
d_longlong='undef'
+d_lseek64='undef'
d_lstat='undef'
+d_lstat64='undef'
d_mblen='define'
d_mbstowcs='define'
d_mbtowc='define'
@@ -171,10 +197,14 @@ d_msgget='undef'
d_msgrcv='undef'
d_msgsnd='undef'
d_mymalloc='undef'
+d_nextkey64='undef'
d_nice='undef'
+d_off64t='undef'
d_oldpthreads='undef'
d_oldsock='undef'
d_open3='undef'
+d_open64='undef'
+d_opendir64='undef'
d_pathconf='undef'
d_pause='define'
d_phostname='undef'
@@ -192,6 +222,7 @@ d_pwgecos='undef'
d_pwquota='undef'
d_pwpasswd='undef'
d_readdir='define'
+d_readdir64='undef'
d_readlink='undef'
d_rename='define'
d_rewinddir='define'
@@ -201,6 +232,7 @@ d_safemcpy='undef'
d_sanemcmp='define'
d_sched_yield='undef'
d_seekdir='define'
+d_seekdir64='undef'
d_select='define'
d_sem='undef'
d_semctl='undef'
@@ -242,11 +274,13 @@ d_sigaction='undef'
d_sigsetjmp='undef'
d_socket='define'
d_sockpair='undef'
+d_stat64='undef'
d_statblks='undef'
d_stdio_cnt_lval='define'
d_stdio_ptr_lval='define'
d_stdiobase='define'
d_stdstdio='define'
+d_store64='undef'
d_strchr='define'
d_strcoll='define'
d_strctcpy='define'
@@ -266,9 +300,12 @@ d_system='define'
d_tcgetpgrp='undef'
d_tcsetpgrp='undef'
d_telldir='define'
+d_telldir64='undef'
d_time='define'
d_times='define'
+d_tmpfile64='undef'
d_truncate='undef'
+d_truncate64='undef'
d_tzname='define'
d_umask='define'
d_uname='undef'
@@ -332,6 +369,7 @@ i_fcntl='define'
i_float='define'
i_gdbm='undef'
i_grp='undef'
+i_inttypes='undef'
i_limits='define'
i_locale='define'
i_malloc='define'
@@ -349,6 +387,7 @@ i_stdarg='define'
i_stddef='define'
i_stdlib='define'
i_string='define'
+i_sysaccess='undef'
i_sysdir='undef'
i_sysfile='undef'
i_sysfilio='define'
@@ -357,6 +396,7 @@ i_sysioctl='undef'
i_sysndir='undef'
i_sysparam='undef'
i_sysresrc='undef'
+i_syssecrt='undef'
i_sysselct='undef'
i_syssockio=''
i_sysstat='define'
@@ -414,6 +454,7 @@ longsize='4'
lp=''
lpr=''
ls='dir'
+lseeksize='4'
lseektype='off_t'
mail=''
mailx=''
@@ -485,6 +526,7 @@ runnm='true'
scriptdir='~INST_TOP~~INST_VER~\bin'
scriptdirexp='~INST_TOP~~INST_VER~\bin'
sed='sed'
+selectminbits='32'
selecttype='Perl_fd_set *'
sendmail='blat'
sh='cmd /x /c'
@@ -542,6 +584,7 @@ troff=''
uidtype='uid_t'
uname='uname'
uniq='uniq'
+use64bits='undef'
usedl='define'
usemymalloc='n'
usenm='false'
diff --git a/win32/config_H.bc b/win32/config_H.bc
index 66567abc27..38d8d442ad 100644
--- a/win32/config_H.bc
+++ b/win32/config_H.bc
@@ -288,31 +288,6 @@
*/
/*#define HAS_GETPRIORITY /**/
-/* HAS_HTONL:
- * This symbol, if defined, indicates that the htonl() routine (and
- * friends htons() ntohl() ntohs()) are available to do network
- * order byte swapping.
- */
-/* HAS_HTONS:
- * This symbol, if defined, indicates that the htons() routine (and
- * friends htonl() ntohl() ntohs()) are available to do network
- * order byte swapping.
- */
-/* HAS_NTOHL:
- * This symbol, if defined, indicates that the ntohl() routine (and
- * friends htonl() htons() ntohs()) are available to do network
- * order byte swapping.
- */
-/* HAS_NTOHS:
- * This symbol, if defined, indicates that the ntohs() routine (and
- * friends htonl() htons() ntohl()) are available to do network
- * order byte swapping.
- */
-#define HAS_HTONL /**/
-#define HAS_HTONS /**/
-#define HAS_NTOHL /**/
-#define HAS_NTOHS /**/
-
/* HAS_INET_ATON:
* This symbol, if defined, indicates to the C program that the
* inet_aton() function is available to parse IP address "dotted-quad"
@@ -416,12 +391,6 @@
*/
#define HAS_MKTIME /**/
-/* HAS_MSG:
- * This symbol, if defined, indicates that the entire msg*(2) library is
- * supported (IPC mechanism based on message queues).
- */
-/*#define HAS_MSG /**/
-
/* HAS_NICE:
* This symbol, if defined, indicates that the nice routine is
* available.
@@ -512,12 +481,6 @@
*/
#define HAS_SELECT /**/
-/* HAS_SEM:
- * This symbol, if defined, indicates that the entire sem*(2) library is
- * supported.
- */
-/*#define HAS_SEM /**/
-
/* HAS_SETEGID:
* This symbol, if defined, indicates that the setegid routine is available
* to change the effective gid of the current program.
@@ -617,12 +580,6 @@
*/
/*#define HAS_SETSID /**/
-/* HAS_SHM:
- * This symbol, if defined, indicates that the entire shm*(2) library is
- * supported.
- */
-/*#define HAS_SHM /**/
-
/* Shmat_t:
* This symbol holds the return type of the shmat() system call.
* Usually set to 'void *' or 'char *'.
@@ -637,12 +594,6 @@
#define Shmat_t void * /**/
/*#define HAS_SHMAT_PROTOTYPE /**/
-/* USE_STAT_BLOCKS:
- * This symbol is defined if this system has a stat structure declaring
- * st_blksize and st_blocks.
- */
-/*#define USE_STAT_BLOCKS /**/
-
/* HAS_STRCHR:
* This symbol is defined to indicate that the strchr()/strrchr()
* functions are available for string searching. If not, try the
@@ -668,25 +619,6 @@
*/
#define USE_STRUCT_COPY /**/
-/* HAS_STRERROR:
- * This symbol, if defined, indicates that the strerror routine is
- * available to translate error numbers to strings. See the writeup
- * of Strerror() in this file before you try to define your own.
- */
-/* HAS_SYS_ERRLIST:
- * This symbol, if defined, indicates that the sys_errlist array is
- * available to translate error numbers to strings. The extern int
- * sys_nerr gives the size of that table.
- */
-/* Strerror:
- * This preprocessor symbol is defined as a macro if strerror() is
- * not available to translate error numbers to strings but sys_errlist[]
- * array is there.
- */
-#define HAS_STRERROR /**/
-#define HAS_SYS_ERRLIST /**/
-#define Strerror(e) strerror(e)
-
/* HAS_STRTOD:
* This symbol, if defined, indicates that the strtod routine is
* available to provide better numeric string conversion than atof().
@@ -802,17 +734,11 @@
*/
#define HAS_WCTOMB /**/
-/* EBCDIC:
- * This symbol, if defined, indicates that this system uses
- * EBCDIC encoding.
- */
-/*#define EBCDIC /**/
-
/* I_ARPA_INET:
- * This symbol, if defined, indicates that <arpa/inet.h> exists and should
- * be included.
+ * This symbol, if defined, indicates to the C program that it should
+ * include <arpa/inet.h> to get inet_addr and friends declarations.
*/
-#define I_ARPA_INET /**/
+#define I_ARPA_INET /**/
/* I_DBM:
* This symbol, if defined, indicates that <dbm.h> exists and should
@@ -863,32 +789,6 @@
*/
#define I_FLOAT /**/
-/* I_GRP:
- * This symbol, if defined, indicates to the C program that it should
- * include <grp.h>.
- */
-/* GRPASSWD:
- * This symbol, if defined, indicates to the C program that struct group
- * contains gr_passwd.
- */
-/* HAS_SETGRENT:
- * This symbol, if defined, indicates that the getgrent routine is
- * available for initializing sequential access of the group database.
- */
-/* HAS_GETGRENT:
- * This symbol, if defined, indicates that the getgrent routine is
- * available for sequential access of the group database.
- */
-/* HAS_ENDGRENT:
- * This symbol, if defined, indicates that the getgrent routine is
- * available for finalizing sequential access of the group database.
- */
-/*#define I_GRP /**/
-/*#define GRPASSWD /**/
-/*#define HAS_SETGRENT /**/
-/*#define HAS_GETGRENT /**/
-/*#define HAS_ENDGRENT /**/
-
/* I_LIMITS:
* This symbol, if defined, indicates to the C program that it should
* include <limits.h> to get definition of symbols like WORD_BIT or
@@ -1118,6 +1018,30 @@
*/
#define STDCHAR unsigned char /**/
+/* HAS_ACCESSX:
+ * This symbol, if defined, indicates that the accessx routine is
+ * available to do extended access checks.
+ */
+/*#define HAS_ACCESSX /**/
+
+/* HAS_EACCESS:
+ * This symbol, if defined, indicates that the eaccess routine is
+ * available to do extended access checks.
+ */
+/*#define HAS_EACCESS /**/
+
+/* I_SYS_ACCESS:
+ * This symbol, if defined, indicates to the C program that it should
+ * include <sysaccess.h>.
+ */
+/*#define I_SYS_ACCESS /**/
+
+/* I_SYS_SECURITY:
+ * This symbol, if defined, indicates to the C program that it should
+ * include <sys/security.h>.
+ */
+/*#define I_SYS_SECURITY /**/
+
/* MEM_ALIGNBYTES:
* This symbol contains the number of bytes required to align a
* double. Usual values are 2, 4 and 8.
@@ -1435,6 +1359,12 @@
*/
#define SSize_t int /* signed count of bytes */
+/* EBCDIC:
+ * This symbol, if defined, indicates that this system uses
+ * EBCDIC encoding.
+ */
+/*#define EBCDIC /**/
+
/* OSNAME:
* This symbol contains the name of the operating system, as determined
* by Configure. You shouldn't rely on it too much; the specific
@@ -1462,6 +1392,13 @@
#include "Bletch: How does this C preprocessor catenate tokens?"
#endif
+/* HAS_ACCESS:
+ * This manifest constant lets the C program know that the access()
+ * system call is available to check for accessibility using real UID/GID.
+ * (always present on UNIX.)
+ */
+#define HAS_ACCESS /**/
+
/* CSH:
* This symbol, if defined, contains the full pathname of csh.
*/
@@ -1470,6 +1407,12 @@
#define CSH "" /**/
#endif
+/* HAS_ENDGRENT:
+ * This symbol, if defined, indicates that the getgrent routine is
+ * available for finalizing sequential access of the group database.
+ */
+/*#define HAS_ENDGRENT /**/
+
/* HAS_ENDHOSTENT:
* This symbol, if defined, indicates that the endhostent() routine is
* available to close whatever was being used for host queries.
@@ -1488,12 +1431,24 @@
*/
/*#define HAS_ENDPROTOENT /**/
+/* HAS_ENDPWENT:
+ * This symbol, if defined, indicates that the getgrent routine is
+ * available for finalizing sequential access of the passwd database.
+ */
+/*#define HAS_ENDPWENT /**/
+
/* HAS_ENDSERVENT:
* This symbol, if defined, indicates that the endservent() routine is
* available to close whatever was being used for service queries.
*/
/*#define HAS_ENDSERVENT /**/
+/* HAS_GETGRENT:
+ * This symbol, if defined, indicates that the getgrent routine is
+ * available for sequential access of the group database.
+ */
+/*#define HAS_GETGRENT /**/
+
/* HAS_GETHOSTBYADDR:
* This symbol, if defined, indicates that the gethostbyaddr() routine is
* available to look up hosts by their IP addresses.
@@ -1547,6 +1502,13 @@
#define HAS_GETPROTOBYNAME /**/
#define HAS_GETPROTOBYNUMBER /**/
+/* HAS_GETPWENT:
+ * This symbol, if defined, indicates that the getpwent routine is
+ * available for sequential access of the passwd database.
+ * If this is not available, the older getpw() function may be available.
+ */
+/*#define HAS_GETPWENT /**/
+
/* HAS_GETSERVENT:
* This symbol, if defined, indicates that the getservent() routine is
* available to look up network services in some data base or another.
@@ -1564,6 +1526,31 @@
#define HAS_GETSERVBYNAME /**/
#define HAS_GETSERVBYPORT /**/
+/* HAS_HTONL:
+ * This symbol, if defined, indicates that the htonl() routine (and
+ * friends htons() ntohl() ntohs()) are available to do network
+ * order byte swapping.
+ */
+/* HAS_HTONS:
+ * This symbol, if defined, indicates that the htons() routine (and
+ * friends htonl() ntohl() ntohs()) are available to do network
+ * order byte swapping.
+ */
+/* HAS_NTOHL:
+ * This symbol, if defined, indicates that the ntohl() routine (and
+ * friends htonl() htons() ntohs()) are available to do network
+ * order byte swapping.
+ */
+/* HAS_NTOHS:
+ * This symbol, if defined, indicates that the ntohs() routine (and
+ * friends htonl() htons() ntohl()) are available to do network
+ * order byte swapping.
+ */
+#define HAS_HTONL /**/
+#define HAS_HTONS /**/
+#define HAS_NTOHL /**/
+#define HAS_NTOHS /**/
+
/* HAS_LONG_DOUBLE:
* This symbol will be defined if the C compiler supports long
* doubles.
@@ -1579,8 +1566,7 @@
#endif
/* HAS_LONG_LONG:
- * This symbol will be defined if the C compiler supports
- * long long.
+ * This symbol will be defined if the C compiler supports long long.
*/
/* LONGLONGSIZE:
* This symbol contains the size of a long long, so that the
@@ -1592,6 +1578,24 @@
#define LONGLONGSIZE 8 /**/
#endif
+/* HAS_MSG:
+ * This symbol, if defined, indicates that the entire msg*(2) library is
+ * supported (IPC mechanism based on message queues).
+ */
+/*#define HAS_MSG /**/
+
+/* HAS_SEM:
+ * This symbol, if defined, indicates that the entire sem*(2) library is
+ * supported.
+ */
+/*#define HAS_SEM /**/
+
+/* HAS_SETGRENT:
+ * This symbol, if defined, indicates that the setgrent routine is
+ * available for initializing sequential access of the group database.
+ */
+/*#define HAS_SETGRENT /**/
+
/* HAS_SETGROUPS:
* This symbol, if defined, indicates that the setgroups() routine is
* available to set the list of process groups. If unavailable, multiple
@@ -1617,6 +1621,12 @@
*/
/*#define HAS_SETPROTOENT /**/
+/* HAS_SETPWENT:
+ * This symbol, if defined, indicates that the setpwent routine is
+ * available for initializing sequential access of the passwd database.
+ */
+/*#define HAS_SETPWENT /**/
+
/* HAS_SETSERVENT:
* This symbol, if defined, indicates that the setservent() routine is
* available.
@@ -1630,6 +1640,12 @@
*/
#define HAS_SETVBUF /**/
+/* HAS_SHM:
+ * This symbol, if defined, indicates that the entire shm*(2) library is
+ * supported.
+ */
+/*#define HAS_SHM /**/
+
/* HAS_SOCKET:
* This symbol, if defined, indicates that the BSD socket interface is
* supported.
@@ -1641,6 +1657,31 @@
#define HAS_SOCKET /**/
/*#define HAS_SOCKETPAIR /**/
+/* USE_STAT_BLOCKS:
+ * This symbol is defined if this system has a stat structure declaring
+ * st_blksize and st_blocks.
+ */
+/*#define USE_STAT_BLOCKS /* backward compatibility */
+
+/* HAS_STRERROR:
+ * This symbol, if defined, indicates that the strerror routine is
+ * available to translate error numbers to strings. See the writeup
+ * of Strerror() in this file before you try to define your own.
+ */
+/* HAS_SYS_ERRLIST:
+ * This symbol, if defined, indicates that the sys_errlist array is
+ * available to translate error numbers to strings. The extern int
+ * sys_nerr gives the size of that table.
+ */
+/* Strerror:
+ * This preprocessor symbol is defined as a macro if strerror() is
+ * not available to translate error numbers to strings but sys_errlist[]
+ * array is there.
+ */
+#define HAS_STRERROR /**/
+#define HAS_SYS_ERRLIST /**/
+#define Strerror(e) strerror(e)
+
/* HAS_UNION_SEMUN:
* This symbol, if defined, indicates that the union semun is
* defined by including <sys/sem.h>. If not, the user code
@@ -1684,6 +1725,17 @@
#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
#endif
+/* I_GRP:
+ * This symbol, if defined, indicates to the C program that it should
+ * include <grp.h>.
+ */
+/* GRPASSWD:
+ * This symbol, if defined, indicates to the C program that struct group
+ * in <grp.h> contains gr_passwd.
+ */
+/*#define I_GRP /**/
+/*#define GRPASSWD /**/
+
/* I_NETDB:
* This symbol, if defined, indicates that <netdb.h> exists and
* should be included.
@@ -1726,18 +1778,6 @@
* This symbol, if defined, indicates to the C program that struct passwd
* contains pw_passwd.
*/
-/* HAS_SETPWENT:
- * This symbol, if defined, indicates that the getpwrent routine is
- * available for initializing sequential access of the passwd database.
- */
-/* HAS_GETPWENT:
- * This symbol, if defined, indicates that the getpwent routine is
- * available for sequential access of the password database.
- */
-/* HAS_ENDPWENT:
- * This symbol, if defined, indicates that the getpwent routine is
- * available for finalizing sequential access of the passwd database.
- */
/*#define I_PWD /**/
/*#define PWQUOTA /**/
/*#define PWAGE /**/
@@ -1747,9 +1787,6 @@
/*#define PWCOMMENT /**/
/*#define PWGECOS /**/
/*#define PWPASSWD /**/
-/*#define HAS_SETPWENT /**/
-/*#define HAS_GETPWENT /**/
-/*#define HAS_ENDPWENT /**/
/* Free_t:
* This variable contains the return type of free(). It is usually
@@ -1846,12 +1883,60 @@
*/
/*#define DLSYM_NEEDS_UNDERSCORE /**/
+/* HAS_FSEEKO:
+ * This symbol, if defined, indicates that the fseeko routine is
+ * available to fseek beyond 32 bits (useful for ILP32 hosts).
+ */
+/*#define HAS_FSEEKO /**/
+
+/* HAS_FTELLO:
+ * This symbol, if defined, indicates that the ftello routine is
+ * available to ftell from beyond 32 bits (useful for ILP32 hosts).
+ */
+/*#define HAS_FTELLO /**/
+
/* USE_SFIO:
* This symbol, if defined, indicates that sfio should
* be used.
*/
/*#define USE_SFIO /**/
+/* HAS_DBMINIT64:
+ * This symbol, if defined, indicates that the dbminit64 routine is
+ * available to open dbm files larger than 2 gigabytes.
+ */
+/* HAS_DBMCLOSE64:
+ * This symbol, if defined, indicates that the dbmclose64 routine is
+ * available to close dbm files larger than 2 gigabytes.
+ */
+/* HAS_FETCH64:
+ * This symbol, if defined, indicates that the fetch64 routine is
+ * available to fetch from dbm files larger than 2 gigabytes.
+ */
+/* HAS_STORE64:
+ * This symbol, if defined, indicates that the store64 routine is
+ * available to store to dbm files larger than 2 gigabytes.
+ */
+/* HAS_DELETE64:
+ * This symbol, if defined, indicates that the delete64 routine is
+ * available to delete from dbm files larger than 2 gigabytes.
+ */
+/* HAS_FIRSTKEY64:
+ * This symbol, if defined, indicates that the firstkey64 routine is
+ * available to firstkey in dbm files larger than 2 gigabytes.
+ */
+/* HAS_NEXTKEY64:
+ * This symbol, if defined, indicates that the nextkey64 routine is
+ * available to nextkey in dbm files larger than 2 gigabytes.
+ */
+/*#define HAS_DBMINIT64 /**/
+/*#define HAS_DBMCLOSE64 /**/
+/*#define HAS_FETCH64 /**/
+/*#define HAS_STORE64 /**/
+/*#define HAS_DELETE64 /**/
+/*#define HAS_FIRSTKEY64 /**/
+/*#define HAS_NEXTKEY64 /**/
+
/* USE_DYNAMIC_LOADING:
* This symbol, if defined, indicates that dynamic loading of
* some sort is available.
@@ -1871,6 +1956,82 @@
#define DB_Hash_t int /**/
#define DB_Prefix_t int /**/
+/* I_INTTYPES:
+ * This symbol, if defined, indicates to the C program that it should
+ * include <inttypes.h>.
+ */
+/* HAS_INT64_T:
+ * This symbol will defined if the C compiler supports int64_t.
+ * Usually the <inttypes.h> needs to be included, but sometimes
+ * <sys/types.h> is enough.
+ */
+/*#define I_INTTYPES /**/
+/*#define HAS_INT64_T /**/
+
+/* HAS_FSTAT64:
+ * This symbol, if defined, indicates that the fstat64 routine is
+ * available to stat files (fds) larger than 2 gigabytes.
+ */
+/* HAS_FTRUNCATE64:
+ * This symbol, if defined, indicates that the ftruncate64 routine is
+ * available to tell files larger than 2 gigabytes.
+ */
+/* HAS_LSEEK64:
+ * This symbol, if defined, indicates that the lseek64 routine is
+ * available to seek files larger than 2 gigabytes.
+ */
+/* HAS_LSTAT64:
+ * This symbol, if defined, indicates that the lstat64 routine is
+ * available to stat files (symlinks) larger than 2 gigabytes.
+ */
+/* HAS_OPEN64:
+ * This symbol, if defined, indicates that the open64 routine is
+ * available to open files larger than 2 gigabytes.
+ */
+/* HAS_OPENDIR64:
+ * This symbol, if defined, indicates that the opendir64 routine is
+ * available to opendir files larger than 2 gigabytes.
+ */
+/* HAS_READDIR64:
+ * This symbol, if defined, indicates that the readdir64 routine is
+ * available to readdir files larger than 2 gigabytes.
+ */
+/* HAS_SEEKDIR64:
+ * This symbol, if defined, indicates that the seekdir64 routine is
+ * available to seekdir files larger than 2 gigabytes.
+ */
+/* HAS_STAT64:
+ * This symbol, if defined, indicates that the fstat64 routine is
+ * available to stat files larger than 2 gigabytes.
+ */
+/* HAS_TELLDIR64:
+ * This symbol, if defined, indicates that the telldir64 routine is
+ * available to telldir files larger than 2 gigabytes.
+ */
+/* HAS_TRUNCATE64:
+ * This symbol, if defined, indicates that the truncate64 routine is
+ * available to truncate files larger than 2 gigabytes.
+ */
+/* HAS_OFF64_T:
+ * This symbol will be defined if the C compiler supports off64_t.
+ */
+/* HAS_STRUCT_DIRENT64:
+ * This symbol will be defined if the C compiler supports struct dirent64.
+ */
+/*#define HAS_FSTAT64 /**/
+/*#define HAS_FTRUNCATE64 /**/
+/*#define HAS_LSEEK64 /**/
+/*#define HAS_LSTAT64 /**/
+/*#define HAS_OPEN64 /**/
+/*#define HAS_OPENDIR64 /**/
+/*#define HAS_READDIR64 /**/
+/*#define HAS_SEEKDIR64 /**/
+/*#define HAS_STAT64 /**/
+/*#define HAS_TELLDIR64 /**/
+/*#define HAS_TRUNCATE64 /**/
+/*#define HAS_OFF64_T /**/
+/*#define HAS_STRUCT_DIRENT64 /**/
+
/* PRIVLIB:
* This symbol contains the name of the private library for this package.
* The library is private in the sense that it needn't be in anyone's
@@ -1884,6 +2045,15 @@
#define PRIVLIB "c:\\perl\\5.00552\\lib" /**/
#define PRIVLIB_EXP (win32_get_privlib("5.00552")) /**/
+/* SELECT_MIN_BITS:
+ * This symbol holds the minimum number of bits operated by select.
+ * That is, if you do select(n, ...), how many bits at least will be
+ * cleared in the masks if some activity is detected. Usually this
+ * is either n or 32*ceil(n/32), especially many little-endians do
+ * the latter. This is only useful if you have select(), naturally.
+ */
+#define SELECT_MIN_BITS 32 /**/
+
/* SITEARCH:
* This symbol contains the name of the private library for this package.
* The library is private in the sense that it needn't be in anyone's
@@ -1923,6 +2093,59 @@
*/
#define STARTPERL "#!perl" /**/
+/* HAS_FGETPOS64:
+ * This symbol, if defined, indicates that the fgetpos64 routine is
+ * available to getpos files larger than 2 gigabytes.
+ */
+/* HAS_FOPEN64:
+ * This symbol, if defined, indicates that the fopen64 routine is
+ * available to open files larger than 2 gigabytes.
+ */
+/* HAS_FREOPEN64:
+ * This symbol, if defined, indicates that the freopen64 routine is
+ * available to reopen files larger than 2 gigabytes.
+ */
+/* HAS_FSEEK64:
+ * This symbol, if defined, indicates that the fseek64 routine is
+ * available to seek files larger than 2 gigabytes.
+ */
+/* HAS_FSEEKO64:
+ * This symbol, if defined, indicates that the fseeko64 routine is
+ * available to seek files larger than 2 gigabytes.
+ */
+/* HAS_FSETPOS64:
+ * This symbol, if defined, indicates that the fsetpos64 routine is
+ * available to setpos files larger than 2 gigabytes.
+ */
+/* HAS_FTELL64:
+ * This symbol, if defined, indicates that the ftell64 routine is
+ * available to tell files larger than 2 gigabytes.
+ */
+/* HAS_FTELLO64:
+ * This symbol, if defined, indicates that the ftello64 routine is
+ * available to tell files larger than 2 gigabytes.
+ */
+/* HAS_TMPFILE64:
+ * This symbol, if defined, indicates that the tmpfile64 routine is
+ * available to tmpfile files larger than 2 gigabytes.
+ */
+/*#define HAS_FGETPOS64 /**/
+/*#define HAS_FOPEN64 /**/
+/*#define HAS_FREOPEN64 /**/
+/*#define HAS_FSEEK64 /**/
+/*#define HAS_FSEEKO64 /**/
+/*#define HAS_FSETPOS64 /**/
+/*#define HAS_FTELL64 /**/
+/*#define HAS_FTELLO64 /**/
+/*#define HAS_TMPFILE64 /**/
+
+/* USE_64_BITS:
+ * This symbol, if defined, indicates that 64-bit APIs should
+ * be used when available. If not defined, the native default APIs
+ * will be used (be they 32 or 64 bits).
+ */
+/*#define USE_64_BITS /**/
+
/* USE_PERLIO:
* This symbol, if defined, indicates that the PerlIO abstraction should
* be used throughout. If not defined, stdio should be
diff --git a/win32/config_H.gc b/win32/config_H.gc
index c35d10e56f..4569f01202 100644
--- a/win32/config_H.gc
+++ b/win32/config_H.gc
@@ -288,31 +288,6 @@
*/
/*#define HAS_GETPRIORITY /**/
-/* HAS_HTONL:
- * This symbol, if defined, indicates that the htonl() routine (and
- * friends htons() ntohl() ntohs()) are available to do network
- * order byte swapping.
- */
-/* HAS_HTONS:
- * This symbol, if defined, indicates that the htons() routine (and
- * friends htonl() ntohl() ntohs()) are available to do network
- * order byte swapping.
- */
-/* HAS_NTOHL:
- * This symbol, if defined, indicates that the ntohl() routine (and
- * friends htonl() htons() ntohs()) are available to do network
- * order byte swapping.
- */
-/* HAS_NTOHS:
- * This symbol, if defined, indicates that the ntohs() routine (and
- * friends htonl() htons() ntohl()) are available to do network
- * order byte swapping.
- */
-#define HAS_HTONL /**/
-#define HAS_HTONS /**/
-#define HAS_NTOHL /**/
-#define HAS_NTOHS /**/
-
/* HAS_INET_ATON:
* This symbol, if defined, indicates to the C program that the
* inet_aton() function is available to parse IP address "dotted-quad"
@@ -416,12 +391,6 @@
*/
#define HAS_MKTIME /**/
-/* HAS_MSG:
- * This symbol, if defined, indicates that the entire msg*(2) library is
- * supported (IPC mechanism based on message queues).
- */
-/*#define HAS_MSG /**/
-
/* HAS_NICE:
* This symbol, if defined, indicates that the nice routine is
* available.
@@ -512,12 +481,6 @@
*/
#define HAS_SELECT /**/
-/* HAS_SEM:
- * This symbol, if defined, indicates that the entire sem*(2) library is
- * supported.
- */
-/*#define HAS_SEM /**/
-
/* HAS_SETEGID:
* This symbol, if defined, indicates that the setegid routine is available
* to change the effective gid of the current program.
@@ -617,12 +580,6 @@
*/
/*#define HAS_SETSID /**/
-/* HAS_SHM:
- * This symbol, if defined, indicates that the entire shm*(2) library is
- * supported.
- */
-/*#define HAS_SHM /**/
-
/* Shmat_t:
* This symbol holds the return type of the shmat() system call.
* Usually set to 'void *' or 'char *'.
@@ -637,12 +594,6 @@
#define Shmat_t void * /**/
/*#define HAS_SHMAT_PROTOTYPE /**/
-/* USE_STAT_BLOCKS:
- * This symbol is defined if this system has a stat structure declaring
- * st_blksize and st_blocks.
- */
-/*#define USE_STAT_BLOCKS /**/
-
/* HAS_STRCHR:
* This symbol is defined to indicate that the strchr()/strrchr()
* functions are available for string searching. If not, try the
@@ -668,25 +619,6 @@
*/
#define USE_STRUCT_COPY /**/
-/* HAS_STRERROR:
- * This symbol, if defined, indicates that the strerror routine is
- * available to translate error numbers to strings. See the writeup
- * of Strerror() in this file before you try to define your own.
- */
-/* HAS_SYS_ERRLIST:
- * This symbol, if defined, indicates that the sys_errlist array is
- * available to translate error numbers to strings. The extern int
- * sys_nerr gives the size of that table.
- */
-/* Strerror:
- * This preprocessor symbol is defined as a macro if strerror() is
- * not available to translate error numbers to strings but sys_errlist[]
- * array is there.
- */
-#define HAS_STRERROR /**/
-#define HAS_SYS_ERRLIST /**/
-#define Strerror(e) strerror(e)
-
/* HAS_STRTOD:
* This symbol, if defined, indicates that the strtod routine is
* available to provide better numeric string conversion than atof().
@@ -802,17 +734,11 @@
*/
#define HAS_WCTOMB /**/
-/* EBCDIC:
- * This symbol, if defined, indicates that this system uses
- * EBCDIC encoding.
- */
-/*#define EBCDIC /**/
-
/* I_ARPA_INET:
- * This symbol, if defined, indicates that <arpa/inet.h> exists and should
- * be included.
+ * This symbol, if defined, indicates to the C program that it should
+ * include <arpa/inet.h> to get inet_addr and friends declarations.
*/
-#define I_ARPA_INET /**/
+#define I_ARPA_INET /**/
/* I_DBM:
* This symbol, if defined, indicates that <dbm.h> exists and should
@@ -863,32 +789,6 @@
*/
#define I_FLOAT /**/
-/* I_GRP:
- * This symbol, if defined, indicates to the C program that it should
- * include <grp.h>.
- */
-/* GRPASSWD:
- * This symbol, if defined, indicates to the C program that struct group
- * contains gr_passwd.
- */
-/* HAS_SETGRENT:
- * This symbol, if defined, indicates that the getgrent routine is
- * available for initializing sequential access of the group database.
- */
-/* HAS_GETGRENT:
- * This symbol, if defined, indicates that the getgrent routine is
- * available for sequential access of the group database.
- */
-/* HAS_ENDGRENT:
- * This symbol, if defined, indicates that the getgrent routine is
- * available for finalizing sequential access of the group database.
- */
-/*#define I_GRP /**/
-/*#define GRPASSWD /**/
-/*#define HAS_SETGRENT /**/
-/*#define HAS_GETGRENT /**/
-/*#define HAS_ENDGRENT /**/
-
/* I_LIMITS:
* This symbol, if defined, indicates to the C program that it should
* include <limits.h> to get definition of symbols like WORD_BIT or
@@ -1118,6 +1018,30 @@
*/
#define STDCHAR char /**/
+/* HAS_ACCESSX:
+ * This symbol, if defined, indicates that the accessx routine is
+ * available to do extended access checks.
+ */
+/*#define HAS_ACCESSX /**/
+
+/* HAS_EACCESS:
+ * This symbol, if defined, indicates that the eaccess routine is
+ * available to do extended access checks.
+ */
+/*#define HAS_EACCESS /**/
+
+/* I_SYS_ACCESS:
+ * This symbol, if defined, indicates to the C program that it should
+ * include <sysaccess.h>.
+ */
+/*#define I_SYS_ACCESS /**/
+
+/* I_SYS_SECURITY:
+ * This symbol, if defined, indicates to the C program that it should
+ * include <sys/security.h>.
+ */
+/*#define I_SYS_SECURITY /**/
+
/* MEM_ALIGNBYTES:
* This symbol contains the number of bytes required to align a
* double. Usual values are 2, 4 and 8.
@@ -1435,6 +1359,12 @@
*/
#define SSize_t int /* signed count of bytes */
+/* EBCDIC:
+ * This symbol, if defined, indicates that this system uses
+ * EBCDIC encoding.
+ */
+/*#define EBCDIC /**/
+
/* OSNAME:
* This symbol contains the name of the operating system, as determined
* by Configure. You shouldn't rely on it too much; the specific
@@ -1462,6 +1392,13 @@
#include "Bletch: How does this C preprocessor catenate tokens?"
#endif
+/* HAS_ACCESS:
+ * This manifest constant lets the C program know that the access()
+ * system call is available to check for accessibility using real UID/GID.
+ * (always present on UNIX.)
+ */
+#define HAS_ACCESS /**/
+
/* CSH:
* This symbol, if defined, contains the full pathname of csh.
*/
@@ -1470,6 +1407,12 @@
#define CSH "" /**/
#endif
+/* HAS_ENDGRENT:
+ * This symbol, if defined, indicates that the getgrent routine is
+ * available for finalizing sequential access of the group database.
+ */
+/*#define HAS_ENDGRENT /**/
+
/* HAS_ENDHOSTENT:
* This symbol, if defined, indicates that the endhostent() routine is
* available to close whatever was being used for host queries.
@@ -1488,12 +1431,24 @@
*/
/*#define HAS_ENDPROTOENT /**/
+/* HAS_ENDPWENT:
+ * This symbol, if defined, indicates that the getgrent routine is
+ * available for finalizing sequential access of the passwd database.
+ */
+/*#define HAS_ENDPWENT /**/
+
/* HAS_ENDSERVENT:
* This symbol, if defined, indicates that the endservent() routine is
* available to close whatever was being used for service queries.
*/
/*#define HAS_ENDSERVENT /**/
+/* HAS_GETGRENT:
+ * This symbol, if defined, indicates that the getgrent routine is
+ * available for sequential access of the group database.
+ */
+/*#define HAS_GETGRENT /**/
+
/* HAS_GETHOSTBYADDR:
* This symbol, if defined, indicates that the gethostbyaddr() routine is
* available to look up hosts by their IP addresses.
@@ -1547,6 +1502,13 @@
#define HAS_GETPROTOBYNAME /**/
#define HAS_GETPROTOBYNUMBER /**/
+/* HAS_GETPWENT:
+ * This symbol, if defined, indicates that the getpwent routine is
+ * available for sequential access of the passwd database.
+ * If this is not available, the older getpw() function may be available.
+ */
+/*#define HAS_GETPWENT /**/
+
/* HAS_GETSERVENT:
* This symbol, if defined, indicates that the getservent() routine is
* available to look up network services in some data base or another.
@@ -1564,6 +1526,31 @@
#define HAS_GETSERVBYNAME /**/
#define HAS_GETSERVBYPORT /**/
+/* HAS_HTONL:
+ * This symbol, if defined, indicates that the htonl() routine (and
+ * friends htons() ntohl() ntohs()) are available to do network
+ * order byte swapping.
+ */
+/* HAS_HTONS:
+ * This symbol, if defined, indicates that the htons() routine (and
+ * friends htonl() ntohl() ntohs()) are available to do network
+ * order byte swapping.
+ */
+/* HAS_NTOHL:
+ * This symbol, if defined, indicates that the ntohl() routine (and
+ * friends htonl() htons() ntohs()) are available to do network
+ * order byte swapping.
+ */
+/* HAS_NTOHS:
+ * This symbol, if defined, indicates that the ntohs() routine (and
+ * friends htonl() htons() ntohl()) are available to do network
+ * order byte swapping.
+ */
+#define HAS_HTONL /**/
+#define HAS_HTONS /**/
+#define HAS_NTOHL /**/
+#define HAS_NTOHS /**/
+
/* HAS_LONG_DOUBLE:
* This symbol will be defined if the C compiler supports long
* doubles.
@@ -1579,8 +1566,7 @@
#endif
/* HAS_LONG_LONG:
- * This symbol will be defined if the C compiler supports
- * long long.
+ * This symbol will be defined if the C compiler supports long long.
*/
/* LONGLONGSIZE:
* This symbol contains the size of a long long, so that the
@@ -1592,6 +1578,24 @@
#define LONGLONGSIZE 8 /**/
#endif
+/* HAS_MSG:
+ * This symbol, if defined, indicates that the entire msg*(2) library is
+ * supported (IPC mechanism based on message queues).
+ */
+/*#define HAS_MSG /**/
+
+/* HAS_SEM:
+ * This symbol, if defined, indicates that the entire sem*(2) library is
+ * supported.
+ */
+/*#define HAS_SEM /**/
+
+/* HAS_SETGRENT:
+ * This symbol, if defined, indicates that the setgrent routine is
+ * available for initializing sequential access of the group database.
+ */
+/*#define HAS_SETGRENT /**/
+
/* HAS_SETGROUPS:
* This symbol, if defined, indicates that the setgroups() routine is
* available to set the list of process groups. If unavailable, multiple
@@ -1617,6 +1621,12 @@
*/
/*#define HAS_SETPROTOENT /**/
+/* HAS_SETPWENT:
+ * This symbol, if defined, indicates that the setpwent routine is
+ * available for initializing sequential access of the passwd database.
+ */
+/*#define HAS_SETPWENT /**/
+
/* HAS_SETSERVENT:
* This symbol, if defined, indicates that the setservent() routine is
* available.
@@ -1630,6 +1640,12 @@
*/
#define HAS_SETVBUF /**/
+/* HAS_SHM:
+ * This symbol, if defined, indicates that the entire shm*(2) library is
+ * supported.
+ */
+/*#define HAS_SHM /**/
+
/* HAS_SOCKET:
* This symbol, if defined, indicates that the BSD socket interface is
* supported.
@@ -1641,6 +1657,31 @@
#define HAS_SOCKET /**/
/*#define HAS_SOCKETPAIR /**/
+/* USE_STAT_BLOCKS:
+ * This symbol is defined if this system has a stat structure declaring
+ * st_blksize and st_blocks.
+ */
+/*#define USE_STAT_BLOCKS /* backward compatibility */
+
+/* HAS_STRERROR:
+ * This symbol, if defined, indicates that the strerror routine is
+ * available to translate error numbers to strings. See the writeup
+ * of Strerror() in this file before you try to define your own.
+ */
+/* HAS_SYS_ERRLIST:
+ * This symbol, if defined, indicates that the sys_errlist array is
+ * available to translate error numbers to strings. The extern int
+ * sys_nerr gives the size of that table.
+ */
+/* Strerror:
+ * This preprocessor symbol is defined as a macro if strerror() is
+ * not available to translate error numbers to strings but sys_errlist[]
+ * array is there.
+ */
+#define HAS_STRERROR /**/
+#define HAS_SYS_ERRLIST /**/
+#define Strerror(e) strerror(e)
+
/* HAS_UNION_SEMUN:
* This symbol, if defined, indicates that the union semun is
* defined by including <sys/sem.h>. If not, the user code
@@ -1684,6 +1725,17 @@
#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
#endif
+/* I_GRP:
+ * This symbol, if defined, indicates to the C program that it should
+ * include <grp.h>.
+ */
+/* GRPASSWD:
+ * This symbol, if defined, indicates to the C program that struct group
+ * in <grp.h> contains gr_passwd.
+ */
+/*#define I_GRP /**/
+/*#define GRPASSWD /**/
+
/* I_NETDB:
* This symbol, if defined, indicates that <netdb.h> exists and
* should be included.
@@ -1726,18 +1778,6 @@
* This symbol, if defined, indicates to the C program that struct passwd
* contains pw_passwd.
*/
-/* HAS_SETPWENT:
- * This symbol, if defined, indicates that the getpwrent routine is
- * available for initializing sequential access of the passwd database.
- */
-/* HAS_GETPWENT:
- * This symbol, if defined, indicates that the getpwent routine is
- * available for sequential access of the password database.
- */
-/* HAS_ENDPWENT:
- * This symbol, if defined, indicates that the getpwent routine is
- * available for finalizing sequential access of the passwd database.
- */
/*#define I_PWD /**/
/*#define PWQUOTA /**/
/*#define PWAGE /**/
@@ -1747,9 +1787,6 @@
/*#define PWCOMMENT /**/
/*#define PWGECOS /**/
/*#define PWPASSWD /**/
-/*#define HAS_SETPWENT /**/
-/*#define HAS_GETPWENT /**/
-/*#define HAS_ENDPWENT /**/
/* Free_t:
* This variable contains the return type of free(). It is usually
@@ -1846,12 +1883,60 @@
*/
/*#define DLSYM_NEEDS_UNDERSCORE /**/
+/* HAS_FSEEKO:
+ * This symbol, if defined, indicates that the fseeko routine is
+ * available to fseek beyond 32 bits (useful for ILP32 hosts).
+ */
+/*#define HAS_FSEEKO /**/
+
+/* HAS_FTELLO:
+ * This symbol, if defined, indicates that the ftello routine is
+ * available to ftell from beyond 32 bits (useful for ILP32 hosts).
+ */
+/*#define HAS_FTELLO /**/
+
/* USE_SFIO:
* This symbol, if defined, indicates that sfio should
* be used.
*/
/*#define USE_SFIO /**/
+/* HAS_DBMINIT64:
+ * This symbol, if defined, indicates that the dbminit64 routine is
+ * available to open dbm files larger than 2 gigabytes.
+ */
+/* HAS_DBMCLOSE64:
+ * This symbol, if defined, indicates that the dbmclose64 routine is
+ * available to close dbm files larger than 2 gigabytes.
+ */
+/* HAS_FETCH64:
+ * This symbol, if defined, indicates that the fetch64 routine is
+ * available to fetch from dbm files larger than 2 gigabytes.
+ */
+/* HAS_STORE64:
+ * This symbol, if defined, indicates that the store64 routine is
+ * available to store to dbm files larger than 2 gigabytes.
+ */
+/* HAS_DELETE64:
+ * This symbol, if defined, indicates that the delete64 routine is
+ * available to delete from dbm files larger than 2 gigabytes.
+ */
+/* HAS_FIRSTKEY64:
+ * This symbol, if defined, indicates that the firstkey64 routine is
+ * available to firstkey in dbm files larger than 2 gigabytes.
+ */
+/* HAS_NEXTKEY64:
+ * This symbol, if defined, indicates that the nextkey64 routine is
+ * available to nextkey in dbm files larger than 2 gigabytes.
+ */
+/*#define HAS_DBMINIT64 /**/
+/*#define HAS_DBMCLOSE64 /**/
+/*#define HAS_FETCH64 /**/
+/*#define HAS_STORE64 /**/
+/*#define HAS_DELETE64 /**/
+/*#define HAS_FIRSTKEY64 /**/
+/*#define HAS_NEXTKEY64 /**/
+
/* USE_DYNAMIC_LOADING:
* This symbol, if defined, indicates that dynamic loading of
* some sort is available.
@@ -1871,6 +1956,82 @@
#define DB_Hash_t int /**/
#define DB_Prefix_t int /**/
+/* I_INTTYPES:
+ * This symbol, if defined, indicates to the C program that it should
+ * include <inttypes.h>.
+ */
+/* HAS_INT64_T:
+ * This symbol will defined if the C compiler supports int64_t.
+ * Usually the <inttypes.h> needs to be included, but sometimes
+ * <sys/types.h> is enough.
+ */
+/*#define I_INTTYPES /**/
+/*#define HAS_INT64_T /**/
+
+/* HAS_FSTAT64:
+ * This symbol, if defined, indicates that the fstat64 routine is
+ * available to stat files (fds) larger than 2 gigabytes.
+ */
+/* HAS_FTRUNCATE64:
+ * This symbol, if defined, indicates that the ftruncate64 routine is
+ * available to tell files larger than 2 gigabytes.
+ */
+/* HAS_LSEEK64:
+ * This symbol, if defined, indicates that the lseek64 routine is
+ * available to seek files larger than 2 gigabytes.
+ */
+/* HAS_LSTAT64:
+ * This symbol, if defined, indicates that the lstat64 routine is
+ * available to stat files (symlinks) larger than 2 gigabytes.
+ */
+/* HAS_OPEN64:
+ * This symbol, if defined, indicates that the open64 routine is
+ * available to open files larger than 2 gigabytes.
+ */
+/* HAS_OPENDIR64:
+ * This symbol, if defined, indicates that the opendir64 routine is
+ * available to opendir files larger than 2 gigabytes.
+ */
+/* HAS_READDIR64:
+ * This symbol, if defined, indicates that the readdir64 routine is
+ * available to readdir files larger than 2 gigabytes.
+ */
+/* HAS_SEEKDIR64:
+ * This symbol, if defined, indicates that the seekdir64 routine is
+ * available to seekdir files larger than 2 gigabytes.
+ */
+/* HAS_STAT64:
+ * This symbol, if defined, indicates that the fstat64 routine is
+ * available to stat files larger than 2 gigabytes.
+ */
+/* HAS_TELLDIR64:
+ * This symbol, if defined, indicates that the telldir64 routine is
+ * available to telldir files larger than 2 gigabytes.
+ */
+/* HAS_TRUNCATE64:
+ * This symbol, if defined, indicates that the truncate64 routine is
+ * available to truncate files larger than 2 gigabytes.
+ */
+/* HAS_OFF64_T:
+ * This symbol will be defined if the C compiler supports off64_t.
+ */
+/* HAS_STRUCT_DIRENT64:
+ * This symbol will be defined if the C compiler supports struct dirent64.
+ */
+/*#define HAS_FSTAT64 /**/
+/*#define HAS_FTRUNCATE64 /**/
+/*#define HAS_LSEEK64 /**/
+/*#define HAS_LSTAT64 /**/
+/*#define HAS_OPEN64 /**/
+/*#define HAS_OPENDIR64 /**/
+/*#define HAS_READDIR64 /**/
+/*#define HAS_SEEKDIR64 /**/
+/*#define HAS_STAT64 /**/
+/*#define HAS_TELLDIR64 /**/
+/*#define HAS_TRUNCATE64 /**/
+/*#define HAS_OFF64_T /**/
+/*#define HAS_STRUCT_DIRENT64 /**/
+
/* PRIVLIB:
* This symbol contains the name of the private library for this package.
* The library is private in the sense that it needn't be in anyone's
@@ -1884,6 +2045,15 @@
#define PRIVLIB "c:\\perl\\5.00552\\lib" /**/
#define PRIVLIB_EXP (win32_get_privlib("5.00552")) /**/
+/* SELECT_MIN_BITS:
+ * This symbol holds the minimum number of bits operated by select.
+ * That is, if you do select(n, ...), how many bits at least will be
+ * cleared in the masks if some activity is detected. Usually this
+ * is either n or 32*ceil(n/32), especially many little-endians do
+ * the latter. This is only useful if you have select(), naturally.
+ */
+#define SELECT_MIN_BITS 32 /**/
+
/* SITEARCH:
* This symbol contains the name of the private library for this package.
* The library is private in the sense that it needn't be in anyone's
@@ -1923,6 +2093,59 @@
*/
#define STARTPERL "#!perl" /**/
+/* HAS_FGETPOS64:
+ * This symbol, if defined, indicates that the fgetpos64 routine is
+ * available to getpos files larger than 2 gigabytes.
+ */
+/* HAS_FOPEN64:
+ * This symbol, if defined, indicates that the fopen64 routine is
+ * available to open files larger than 2 gigabytes.
+ */
+/* HAS_FREOPEN64:
+ * This symbol, if defined, indicates that the freopen64 routine is
+ * available to reopen files larger than 2 gigabytes.
+ */
+/* HAS_FSEEK64:
+ * This symbol, if defined, indicates that the fseek64 routine is
+ * available to seek files larger than 2 gigabytes.
+ */
+/* HAS_FSEEKO64:
+ * This symbol, if defined, indicates that the fseeko64 routine is
+ * available to seek files larger than 2 gigabytes.
+ */
+/* HAS_FSETPOS64:
+ * This symbol, if defined, indicates that the fsetpos64 routine is
+ * available to setpos files larger than 2 gigabytes.
+ */
+/* HAS_FTELL64:
+ * This symbol, if defined, indicates that the ftell64 routine is
+ * available to tell files larger than 2 gigabytes.
+ */
+/* HAS_FTELLO64:
+ * This symbol, if defined, indicates that the ftello64 routine is
+ * available to tell files larger than 2 gigabytes.
+ */
+/* HAS_TMPFILE64:
+ * This symbol, if defined, indicates that the tmpfile64 routine is
+ * available to tmpfile files larger than 2 gigabytes.
+ */
+/*#define HAS_FGETPOS64 /**/
+/*#define HAS_FOPEN64 /**/
+/*#define HAS_FREOPEN64 /**/
+/*#define HAS_FSEEK64 /**/
+/*#define HAS_FSEEKO64 /**/
+/*#define HAS_FSETPOS64 /**/
+/*#define HAS_FTELL64 /**/
+/*#define HAS_FTELLO64 /**/
+/*#define HAS_TMPFILE64 /**/
+
+/* USE_64_BITS:
+ * This symbol, if defined, indicates that 64-bit APIs should
+ * be used when available. If not defined, the native default APIs
+ * will be used (be they 32 or 64 bits).
+ */
+/*#define USE_64_BITS /**/
+
/* USE_PERLIO:
* This symbol, if defined, indicates that the PerlIO abstraction should
* be used throughout. If not defined, stdio should be
diff --git a/win32/config_H.vc b/win32/config_H.vc
index 12e49cfe6f..a6055f4cf1 100644
--- a/win32/config_H.vc
+++ b/win32/config_H.vc
@@ -288,31 +288,6 @@
*/
/*#define HAS_GETPRIORITY /**/
-/* HAS_HTONL:
- * This symbol, if defined, indicates that the htonl() routine (and
- * friends htons() ntohl() ntohs()) are available to do network
- * order byte swapping.
- */
-/* HAS_HTONS:
- * This symbol, if defined, indicates that the htons() routine (and
- * friends htonl() ntohl() ntohs()) are available to do network
- * order byte swapping.
- */
-/* HAS_NTOHL:
- * This symbol, if defined, indicates that the ntohl() routine (and
- * friends htonl() htons() ntohs()) are available to do network
- * order byte swapping.
- */
-/* HAS_NTOHS:
- * This symbol, if defined, indicates that the ntohs() routine (and
- * friends htonl() htons() ntohl()) are available to do network
- * order byte swapping.
- */
-#define HAS_HTONL /**/
-#define HAS_HTONS /**/
-#define HAS_NTOHL /**/
-#define HAS_NTOHS /**/
-
/* HAS_INET_ATON:
* This symbol, if defined, indicates to the C program that the
* inet_aton() function is available to parse IP address "dotted-quad"
@@ -416,12 +391,6 @@
*/
#define HAS_MKTIME /**/
-/* HAS_MSG:
- * This symbol, if defined, indicates that the entire msg*(2) library is
- * supported (IPC mechanism based on message queues).
- */
-/*#define HAS_MSG /**/
-
/* HAS_NICE:
* This symbol, if defined, indicates that the nice routine is
* available.
@@ -512,12 +481,6 @@
*/
#define HAS_SELECT /**/
-/* HAS_SEM:
- * This symbol, if defined, indicates that the entire sem*(2) library is
- * supported.
- */
-/*#define HAS_SEM /**/
-
/* HAS_SETEGID:
* This symbol, if defined, indicates that the setegid routine is available
* to change the effective gid of the current program.
@@ -617,12 +580,6 @@
*/
/*#define HAS_SETSID /**/
-/* HAS_SHM:
- * This symbol, if defined, indicates that the entire shm*(2) library is
- * supported.
- */
-/*#define HAS_SHM /**/
-
/* Shmat_t:
* This symbol holds the return type of the shmat() system call.
* Usually set to 'void *' or 'char *'.
@@ -637,12 +594,6 @@
#define Shmat_t void * /**/
/*#define HAS_SHMAT_PROTOTYPE /**/
-/* USE_STAT_BLOCKS:
- * This symbol is defined if this system has a stat structure declaring
- * st_blksize and st_blocks.
- */
-/*#define USE_STAT_BLOCKS /**/
-
/* HAS_STRCHR:
* This symbol is defined to indicate that the strchr()/strrchr()
* functions are available for string searching. If not, try the
@@ -668,25 +619,6 @@
*/
#define USE_STRUCT_COPY /**/
-/* HAS_STRERROR:
- * This symbol, if defined, indicates that the strerror routine is
- * available to translate error numbers to strings. See the writeup
- * of Strerror() in this file before you try to define your own.
- */
-/* HAS_SYS_ERRLIST:
- * This symbol, if defined, indicates that the sys_errlist array is
- * available to translate error numbers to strings. The extern int
- * sys_nerr gives the size of that table.
- */
-/* Strerror:
- * This preprocessor symbol is defined as a macro if strerror() is
- * not available to translate error numbers to strings but sys_errlist[]
- * array is there.
- */
-#define HAS_STRERROR /**/
-#define HAS_SYS_ERRLIST /**/
-#define Strerror(e) strerror(e)
-
/* HAS_STRTOD:
* This symbol, if defined, indicates that the strtod routine is
* available to provide better numeric string conversion than atof().
@@ -802,17 +734,11 @@
*/
#define HAS_WCTOMB /**/
-/* EBCDIC:
- * This symbol, if defined, indicates that this system uses
- * EBCDIC encoding.
- */
-/*#define EBCDIC /**/
-
/* I_ARPA_INET:
- * This symbol, if defined, indicates that <arpa/inet.h> exists and should
- * be included.
+ * This symbol, if defined, indicates to the C program that it should
+ * include <arpa/inet.h> to get inet_addr and friends declarations.
*/
-#define I_ARPA_INET /**/
+#define I_ARPA_INET /**/
/* I_DBM:
* This symbol, if defined, indicates that <dbm.h> exists and should
@@ -863,32 +789,6 @@
*/
#define I_FLOAT /**/
-/* I_GRP:
- * This symbol, if defined, indicates to the C program that it should
- * include <grp.h>.
- */
-/* GRPASSWD:
- * This symbol, if defined, indicates to the C program that struct group
- * contains gr_passwd.
- */
-/* HAS_SETGRENT:
- * This symbol, if defined, indicates that the getgrent routine is
- * available for initializing sequential access of the group database.
- */
-/* HAS_GETGRENT:
- * This symbol, if defined, indicates that the getgrent routine is
- * available for sequential access of the group database.
- */
-/* HAS_ENDGRENT:
- * This symbol, if defined, indicates that the getgrent routine is
- * available for finalizing sequential access of the group database.
- */
-/*#define I_GRP /**/
-/*#define GRPASSWD /**/
-/*#define HAS_SETGRENT /**/
-/*#define HAS_GETGRENT /**/
-/*#define HAS_ENDGRENT /**/
-
/* I_LIMITS:
* This symbol, if defined, indicates to the C program that it should
* include <limits.h> to get definition of symbols like WORD_BIT or
@@ -1118,6 +1018,30 @@
*/
#define STDCHAR char /**/
+/* HAS_ACCESSX:
+ * This symbol, if defined, indicates that the accessx routine is
+ * available to do extended access checks.
+ */
+/*#define HAS_ACCESSX /**/
+
+/* HAS_EACCESS:
+ * This symbol, if defined, indicates that the eaccess routine is
+ * available to do extended access checks.
+ */
+/*#define HAS_EACCESS /**/
+
+/* I_SYS_ACCESS:
+ * This symbol, if defined, indicates to the C program that it should
+ * include <sysaccess.h>.
+ */
+/*#define I_SYS_ACCESS /**/
+
+/* I_SYS_SECURITY:
+ * This symbol, if defined, indicates to the C program that it should
+ * include <sys/security.h>.
+ */
+/*#define I_SYS_SECURITY /**/
+
/* MEM_ALIGNBYTES:
* This symbol contains the number of bytes required to align a
* double. Usual values are 2, 4 and 8.
@@ -1435,6 +1359,12 @@
*/
#define SSize_t int /* signed count of bytes */
+/* EBCDIC:
+ * This symbol, if defined, indicates that this system uses
+ * EBCDIC encoding.
+ */
+/*#define EBCDIC /**/
+
/* OSNAME:
* This symbol contains the name of the operating system, as determined
* by Configure. You shouldn't rely on it too much; the specific
@@ -1462,6 +1392,13 @@
#include "Bletch: How does this C preprocessor catenate tokens?"
#endif
+/* HAS_ACCESS:
+ * This manifest constant lets the C program know that the access()
+ * system call is available to check for accessibility using real UID/GID.
+ * (always present on UNIX.)
+ */
+#define HAS_ACCESS /**/
+
/* CSH:
* This symbol, if defined, contains the full pathname of csh.
*/
@@ -1470,6 +1407,12 @@
#define CSH "" /**/
#endif
+/* HAS_ENDGRENT:
+ * This symbol, if defined, indicates that the getgrent routine is
+ * available for finalizing sequential access of the group database.
+ */
+/*#define HAS_ENDGRENT /**/
+
/* HAS_ENDHOSTENT:
* This symbol, if defined, indicates that the endhostent() routine is
* available to close whatever was being used for host queries.
@@ -1488,12 +1431,24 @@
*/
/*#define HAS_ENDPROTOENT /**/
+/* HAS_ENDPWENT:
+ * This symbol, if defined, indicates that the getgrent routine is
+ * available for finalizing sequential access of the passwd database.
+ */
+/*#define HAS_ENDPWENT /**/
+
/* HAS_ENDSERVENT:
* This symbol, if defined, indicates that the endservent() routine is
* available to close whatever was being used for service queries.
*/
/*#define HAS_ENDSERVENT /**/
+/* HAS_GETGRENT:
+ * This symbol, if defined, indicates that the getgrent routine is
+ * available for sequential access of the group database.
+ */
+/*#define HAS_GETGRENT /**/
+
/* HAS_GETHOSTBYADDR:
* This symbol, if defined, indicates that the gethostbyaddr() routine is
* available to look up hosts by their IP addresses.
@@ -1547,6 +1502,13 @@
#define HAS_GETPROTOBYNAME /**/
#define HAS_GETPROTOBYNUMBER /**/
+/* HAS_GETPWENT:
+ * This symbol, if defined, indicates that the getpwent routine is
+ * available for sequential access of the passwd database.
+ * If this is not available, the older getpw() function may be available.
+ */
+/*#define HAS_GETPWENT /**/
+
/* HAS_GETSERVENT:
* This symbol, if defined, indicates that the getservent() routine is
* available to look up network services in some data base or another.
@@ -1564,6 +1526,31 @@
#define HAS_GETSERVBYNAME /**/
#define HAS_GETSERVBYPORT /**/
+/* HAS_HTONL:
+ * This symbol, if defined, indicates that the htonl() routine (and
+ * friends htons() ntohl() ntohs()) are available to do network
+ * order byte swapping.
+ */
+/* HAS_HTONS:
+ * This symbol, if defined, indicates that the htons() routine (and
+ * friends htonl() ntohl() ntohs()) are available to do network
+ * order byte swapping.
+ */
+/* HAS_NTOHL:
+ * This symbol, if defined, indicates that the ntohl() routine (and
+ * friends htonl() htons() ntohs()) are available to do network
+ * order byte swapping.
+ */
+/* HAS_NTOHS:
+ * This symbol, if defined, indicates that the ntohs() routine (and
+ * friends htonl() htons() ntohl()) are available to do network
+ * order byte swapping.
+ */
+#define HAS_HTONL /**/
+#define HAS_HTONS /**/
+#define HAS_NTOHL /**/
+#define HAS_NTOHS /**/
+
/* HAS_LONG_DOUBLE:
* This symbol will be defined if the C compiler supports long
* doubles.
@@ -1579,8 +1566,7 @@
#endif
/* HAS_LONG_LONG:
- * This symbol will be defined if the C compiler supports
- * long long.
+ * This symbol will be defined if the C compiler supports long long.
*/
/* LONGLONGSIZE:
* This symbol contains the size of a long long, so that the
@@ -1592,6 +1578,24 @@
#define LONGLONGSIZE 8 /**/
#endif
+/* HAS_MSG:
+ * This symbol, if defined, indicates that the entire msg*(2) library is
+ * supported (IPC mechanism based on message queues).
+ */
+/*#define HAS_MSG /**/
+
+/* HAS_SEM:
+ * This symbol, if defined, indicates that the entire sem*(2) library is
+ * supported.
+ */
+/*#define HAS_SEM /**/
+
+/* HAS_SETGRENT:
+ * This symbol, if defined, indicates that the setgrent routine is
+ * available for initializing sequential access of the group database.
+ */
+/*#define HAS_SETGRENT /**/
+
/* HAS_SETGROUPS:
* This symbol, if defined, indicates that the setgroups() routine is
* available to set the list of process groups. If unavailable, multiple
@@ -1617,6 +1621,12 @@
*/
/*#define HAS_SETPROTOENT /**/
+/* HAS_SETPWENT:
+ * This symbol, if defined, indicates that the setpwent routine is
+ * available for initializing sequential access of the passwd database.
+ */
+/*#define HAS_SETPWENT /**/
+
/* HAS_SETSERVENT:
* This symbol, if defined, indicates that the setservent() routine is
* available.
@@ -1630,6 +1640,12 @@
*/
#define HAS_SETVBUF /**/
+/* HAS_SHM:
+ * This symbol, if defined, indicates that the entire shm*(2) library is
+ * supported.
+ */
+/*#define HAS_SHM /**/
+
/* HAS_SOCKET:
* This symbol, if defined, indicates that the BSD socket interface is
* supported.
@@ -1641,6 +1657,31 @@
#define HAS_SOCKET /**/
/*#define HAS_SOCKETPAIR /**/
+/* USE_STAT_BLOCKS:
+ * This symbol is defined if this system has a stat structure declaring
+ * st_blksize and st_blocks.
+ */
+/*#define USE_STAT_BLOCKS /* backward compatibility */
+
+/* HAS_STRERROR:
+ * This symbol, if defined, indicates that the strerror routine is
+ * available to translate error numbers to strings. See the writeup
+ * of Strerror() in this file before you try to define your own.
+ */
+/* HAS_SYS_ERRLIST:
+ * This symbol, if defined, indicates that the sys_errlist array is
+ * available to translate error numbers to strings. The extern int
+ * sys_nerr gives the size of that table.
+ */
+/* Strerror:
+ * This preprocessor symbol is defined as a macro if strerror() is
+ * not available to translate error numbers to strings but sys_errlist[]
+ * array is there.
+ */
+#define HAS_STRERROR /**/
+#define HAS_SYS_ERRLIST /**/
+#define Strerror(e) strerror(e)
+
/* HAS_UNION_SEMUN:
* This symbol, if defined, indicates that the union semun is
* defined by including <sys/sem.h>. If not, the user code
@@ -1684,6 +1725,17 @@
#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
#endif
+/* I_GRP:
+ * This symbol, if defined, indicates to the C program that it should
+ * include <grp.h>.
+ */
+/* GRPASSWD:
+ * This symbol, if defined, indicates to the C program that struct group
+ * in <grp.h> contains gr_passwd.
+ */
+/*#define I_GRP /**/
+/*#define GRPASSWD /**/
+
/* I_NETDB:
* This symbol, if defined, indicates that <netdb.h> exists and
* should be included.
@@ -1726,18 +1778,6 @@
* This symbol, if defined, indicates to the C program that struct passwd
* contains pw_passwd.
*/
-/* HAS_SETPWENT:
- * This symbol, if defined, indicates that the getpwrent routine is
- * available for initializing sequential access of the passwd database.
- */
-/* HAS_GETPWENT:
- * This symbol, if defined, indicates that the getpwent routine is
- * available for sequential access of the password database.
- */
-/* HAS_ENDPWENT:
- * This symbol, if defined, indicates that the getpwent routine is
- * available for finalizing sequential access of the passwd database.
- */
/*#define I_PWD /**/
/*#define PWQUOTA /**/
/*#define PWAGE /**/
@@ -1747,9 +1787,6 @@
/*#define PWCOMMENT /**/
/*#define PWGECOS /**/
/*#define PWPASSWD /**/
-/*#define HAS_SETPWENT /**/
-/*#define HAS_GETPWENT /**/
-/*#define HAS_ENDPWENT /**/
/* Free_t:
* This variable contains the return type of free(). It is usually
@@ -1846,12 +1883,60 @@
*/
/*#define DLSYM_NEEDS_UNDERSCORE /**/
+/* HAS_FSEEKO:
+ * This symbol, if defined, indicates that the fseeko routine is
+ * available to fseek beyond 32 bits (useful for ILP32 hosts).
+ */
+/*#define HAS_FSEEKO /**/
+
+/* HAS_FTELLO:
+ * This symbol, if defined, indicates that the ftello routine is
+ * available to ftell from beyond 32 bits (useful for ILP32 hosts).
+ */
+/*#define HAS_FTELLO /**/
+
/* USE_SFIO:
* This symbol, if defined, indicates that sfio should
* be used.
*/
/*#define USE_SFIO /**/
+/* HAS_DBMINIT64:
+ * This symbol, if defined, indicates that the dbminit64 routine is
+ * available to open dbm files larger than 2 gigabytes.
+ */
+/* HAS_DBMCLOSE64:
+ * This symbol, if defined, indicates that the dbmclose64 routine is
+ * available to close dbm files larger than 2 gigabytes.
+ */
+/* HAS_FETCH64:
+ * This symbol, if defined, indicates that the fetch64 routine is
+ * available to fetch from dbm files larger than 2 gigabytes.
+ */
+/* HAS_STORE64:
+ * This symbol, if defined, indicates that the store64 routine is
+ * available to store to dbm files larger than 2 gigabytes.
+ */
+/* HAS_DELETE64:
+ * This symbol, if defined, indicates that the delete64 routine is
+ * available to delete from dbm files larger than 2 gigabytes.
+ */
+/* HAS_FIRSTKEY64:
+ * This symbol, if defined, indicates that the firstkey64 routine is
+ * available to firstkey in dbm files larger than 2 gigabytes.
+ */
+/* HAS_NEXTKEY64:
+ * This symbol, if defined, indicates that the nextkey64 routine is
+ * available to nextkey in dbm files larger than 2 gigabytes.
+ */
+/*#define HAS_DBMINIT64 /**/
+/*#define HAS_DBMCLOSE64 /**/
+/*#define HAS_FETCH64 /**/
+/*#define HAS_STORE64 /**/
+/*#define HAS_DELETE64 /**/
+/*#define HAS_FIRSTKEY64 /**/
+/*#define HAS_NEXTKEY64 /**/
+
/* USE_DYNAMIC_LOADING:
* This symbol, if defined, indicates that dynamic loading of
* some sort is available.
@@ -1871,6 +1956,82 @@
#define DB_Hash_t int /**/
#define DB_Prefix_t int /**/
+/* I_INTTYPES:
+ * This symbol, if defined, indicates to the C program that it should
+ * include <inttypes.h>.
+ */
+/* HAS_INT64_T:
+ * This symbol will defined if the C compiler supports int64_t.
+ * Usually the <inttypes.h> needs to be included, but sometimes
+ * <sys/types.h> is enough.
+ */
+/*#define I_INTTYPES /**/
+/*#define HAS_INT64_T /**/
+
+/* HAS_FSTAT64:
+ * This symbol, if defined, indicates that the fstat64 routine is
+ * available to stat files (fds) larger than 2 gigabytes.
+ */
+/* HAS_FTRUNCATE64:
+ * This symbol, if defined, indicates that the ftruncate64 routine is
+ * available to tell files larger than 2 gigabytes.
+ */
+/* HAS_LSEEK64:
+ * This symbol, if defined, indicates that the lseek64 routine is
+ * available to seek files larger than 2 gigabytes.
+ */
+/* HAS_LSTAT64:
+ * This symbol, if defined, indicates that the lstat64 routine is
+ * available to stat files (symlinks) larger than 2 gigabytes.
+ */
+/* HAS_OPEN64:
+ * This symbol, if defined, indicates that the open64 routine is
+ * available to open files larger than 2 gigabytes.
+ */
+/* HAS_OPENDIR64:
+ * This symbol, if defined, indicates that the opendir64 routine is
+ * available to opendir files larger than 2 gigabytes.
+ */
+/* HAS_READDIR64:
+ * This symbol, if defined, indicates that the readdir64 routine is
+ * available to readdir files larger than 2 gigabytes.
+ */
+/* HAS_SEEKDIR64:
+ * This symbol, if defined, indicates that the seekdir64 routine is
+ * available to seekdir files larger than 2 gigabytes.
+ */
+/* HAS_STAT64:
+ * This symbol, if defined, indicates that the fstat64 routine is
+ * available to stat files larger than 2 gigabytes.
+ */
+/* HAS_TELLDIR64:
+ * This symbol, if defined, indicates that the telldir64 routine is
+ * available to telldir files larger than 2 gigabytes.
+ */
+/* HAS_TRUNCATE64:
+ * This symbol, if defined, indicates that the truncate64 routine is
+ * available to truncate files larger than 2 gigabytes.
+ */
+/* HAS_OFF64_T:
+ * This symbol will be defined if the C compiler supports off64_t.
+ */
+/* HAS_STRUCT_DIRENT64:
+ * This symbol will be defined if the C compiler supports struct dirent64.
+ */
+/*#define HAS_FSTAT64 /**/
+/*#define HAS_FTRUNCATE64 /**/
+/*#define HAS_LSEEK64 /**/
+/*#define HAS_LSTAT64 /**/
+/*#define HAS_OPEN64 /**/
+/*#define HAS_OPENDIR64 /**/
+/*#define HAS_READDIR64 /**/
+/*#define HAS_SEEKDIR64 /**/
+/*#define HAS_STAT64 /**/
+/*#define HAS_TELLDIR64 /**/
+/*#define HAS_TRUNCATE64 /**/
+/*#define HAS_OFF64_T /**/
+/*#define HAS_STRUCT_DIRENT64 /**/
+
/* PRIVLIB:
* This symbol contains the name of the private library for this package.
* The library is private in the sense that it needn't be in anyone's
@@ -1884,6 +2045,15 @@
#define PRIVLIB "c:\\perl\\5.00552\\lib" /**/
#define PRIVLIB_EXP (win32_get_privlib("5.00552")) /**/
+/* SELECT_MIN_BITS:
+ * This symbol holds the minimum number of bits operated by select.
+ * That is, if you do select(n, ...), how many bits at least will be
+ * cleared in the masks if some activity is detected. Usually this
+ * is either n or 32*ceil(n/32), especially many little-endians do
+ * the latter. This is only useful if you have select(), naturally.
+ */
+#define SELECT_MIN_BITS 32 /**/
+
/* SITEARCH:
* This symbol contains the name of the private library for this package.
* The library is private in the sense that it needn't be in anyone's
@@ -1923,6 +2093,59 @@
*/
#define STARTPERL "#!perl" /**/
+/* HAS_FGETPOS64:
+ * This symbol, if defined, indicates that the fgetpos64 routine is
+ * available to getpos files larger than 2 gigabytes.
+ */
+/* HAS_FOPEN64:
+ * This symbol, if defined, indicates that the fopen64 routine is
+ * available to open files larger than 2 gigabytes.
+ */
+/* HAS_FREOPEN64:
+ * This symbol, if defined, indicates that the freopen64 routine is
+ * available to reopen files larger than 2 gigabytes.
+ */
+/* HAS_FSEEK64:
+ * This symbol, if defined, indicates that the fseek64 routine is
+ * available to seek files larger than 2 gigabytes.
+ */
+/* HAS_FSEEKO64:
+ * This symbol, if defined, indicates that the fseeko64 routine is
+ * available to seek files larger than 2 gigabytes.
+ */
+/* HAS_FSETPOS64:
+ * This symbol, if defined, indicates that the fsetpos64 routine is
+ * available to setpos files larger than 2 gigabytes.
+ */
+/* HAS_FTELL64:
+ * This symbol, if defined, indicates that the ftell64 routine is
+ * available to tell files larger than 2 gigabytes.
+ */
+/* HAS_FTELLO64:
+ * This symbol, if defined, indicates that the ftello64 routine is
+ * available to tell files larger than 2 gigabytes.
+ */
+/* HAS_TMPFILE64:
+ * This symbol, if defined, indicates that the tmpfile64 routine is
+ * available to tmpfile files larger than 2 gigabytes.
+ */
+/*#define HAS_FGETPOS64 /**/
+/*#define HAS_FOPEN64 /**/
+/*#define HAS_FREOPEN64 /**/
+/*#define HAS_FSEEK64 /**/
+/*#define HAS_FSEEKO64 /**/
+/*#define HAS_FSETPOS64 /**/
+/*#define HAS_FTELL64 /**/
+/*#define HAS_FTELLO64 /**/
+/*#define HAS_TMPFILE64 /**/
+
+/* USE_64_BITS:
+ * This symbol, if defined, indicates that 64-bit APIs should
+ * be used when available. If not defined, the native default APIs
+ * will be used (be they 32 or 64 bits).
+ */
+/*#define USE_64_BITS /**/
+
/* USE_PERLIO:
* This symbol, if defined, indicates that the PerlIO abstraction should
* be used throughout. If not defined, stdio should be
diff --git a/win32/win32.h b/win32/win32.h
index 0a3f19bb1c..8b789fd180 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -123,6 +123,14 @@ struct tms {
#define FILE_SHARE_DELETE 0x00000004
#endif
+/* access() mode bits */
+#ifndef R_OK
+# define R_OK 4
+# define W_OK 2
+# define X_OK 1
+# define F_OK 0
+#endif
+
/* Compiler-specific stuff. */
#ifdef __BORLANDC__ /* Borland C++ */
@@ -144,6 +152,7 @@ struct tms {
#pragma warn -use /* "'foo' is declared but never used" */
#pragma warn -csu /* "comparing signed and unsigned values" */
#pragma warn -pro /* "call to function with no prototype" */
+#pragma warn -stu /* "undefined structure 'foo'" */
#define USE_RTL_WAIT /* Borland has a working wait() */