diff options
Diffstat (limited to 'win32/config_H.vc')
-rw-r--r-- | win32/config_H.vc | 93 |
1 files changed, 68 insertions, 25 deletions
diff --git a/win32/config_H.vc b/win32/config_H.vc index a6055f4cf1..3c6d36856c 100644 --- a/win32/config_H.vc +++ b/win32/config_H.vc @@ -37,21 +37,6 @@ #define BIN "c:\\perl\\5.00552\\bin\\MSWin32-x86" /**/ #define BIN_EXP "c:\\perl\\5.00552\\bin\\MSWin32-x86" /**/ -/* CPPSTDIN: - * This symbol contains the first part of the string which will invoke - * the C preprocessor on the standard input and produce to standard - * output. Typical value of "cc -E" or "/lib/cpp", but it can also - * call a wrapper. See CPPRUN. - */ -/* CPPMINUS: - * This symbol contains the second part of the string which will invoke - * the C preprocessor on the standard input and produce to standard - * output. This symbol will have the value "-" if CPPSTDIN needs a minus - * to specify standard input, otherwise the value is "". - */ -#define CPPSTDIN "cl -nologo -E" -#define CPPMINUS "" - /* HAS_ALARM: * This symbol, if defined, indicates that the alarm routine is * available. @@ -1032,7 +1017,7 @@ /* I_SYS_ACCESS: * This symbol, if defined, indicates to the C program that it should - * include <sysaccess.h>. + * include <sys/access.h>. */ /*#define I_SYS_ACCESS /**/ @@ -1343,11 +1328,30 @@ */ #define PTRSIZE 4 /**/ +/* Drand01: + * This macro is to be used to generate uniformly distributed + * random numbers over the range [0., 1.[. You may have to supply + * an 'extern double drand48();' in your program since SunOS 4.1.3 + * doesn't provide you with anything relevant in it's headers. + * See HAS_DRAND48_PROTO. + */ +/* Rand_seed_t: + * This symbol defines the type of the argument of the + * random seed function. + */ +/* seedDrand01: + * This symbol defines the macro to be used in seeding the + * random number generator (see Drand01). + */ /* RANDBITS: - * This symbol contains the number of bits of random number the rand() - * function produces. Usual values are 15, 16, and 31. + * This symbol indicates how many bits are produced by the + * function used to generate normalized random numbers. + * Values include 15, 16, 31, and 48. */ -#define RANDBITS 15 /**/ +#define Drand01() rand() /**/ +#define Rand_seed_t unsigned /**/ +#define seedDrand01(x) srand((Rand_seed_t)x) /**/ +#define RANDBITS 15 /**/ /* SSize_t: * This symbol holds the type used by functions that return @@ -1392,6 +1396,21 @@ #include "Bletch: How does this C preprocessor catenate tokens?" #endif +/* CPPSTDIN: + * This symbol contains the first part of the string which will invoke + * the C preprocessor on the standard input and produce to standard + * output. Typical value of "cc -E" or "/lib/cpp", but it can also + * call a wrapper. See CPPRUN. + */ +/* CPPMINUS: + * This symbol contains the second part of the string which will invoke + * the C preprocessor on the standard input and produce to standard + * output. This symbol will have the value "-" if CPPSTDIN needs a minus + * to specify standard input, otherwise the value is "". + */ +#define CPPSTDIN "cl -nologo -E" +#define CPPMINUS "" + /* 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. @@ -1661,7 +1680,7 @@ * This symbol is defined if this system has a stat structure declaring * st_blksize and st_blocks. */ -/*#define USE_STAT_BLOCKS /* backward compatibility */ +/*#define USE_STAT_BLOCKS /**/ /* HAS_STRERROR: * This symbol, if defined, indicates that the strerror routine is @@ -2001,7 +2020,7 @@ * available to seekdir files larger than 2 gigabytes. */ /* HAS_STAT64: - * This symbol, if defined, indicates that the fstat64 routine is + * This symbol, if defined, indicates that the stat64 routine is * available to stat files larger than 2 gigabytes. */ /* HAS_TELLDIR64: @@ -2140,8 +2159,8 @@ /*#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 + * This symbol, if defined, indicates that 64-bit interfaces should + * be used when available. If not defined, the native default interfaces * will be used (be they 32 or 64 bits). */ /*#define USE_64_BITS /**/ @@ -2153,6 +2172,14 @@ */ /*#define USE_PERLIO /**/ +/* HAS_DRAND48_PROTO: + * This symbol, if defined, indicates that the system provides + * a prototype for the drand48() function. Otherwise, it is up + * to the program to supply one. A good guess is + * extern double drand48 _((void)); + */ +/*#define HAS_DRAND48_PROTO /**/ + /* HAS_GETHOST_PROTOS: * This symbol, if defined, indicates that <netdb.h> includes * prototypes for gethostent(), gethostbyname(), and @@ -2225,14 +2252,20 @@ /* HAS_PTHREAD_YIELD: * This symbol, if defined, indicates that the pthread_yield * routine is available to yield the execution of the current - * thread. + * thread. sched_yield is preferable to pthread_yield. + */ +/* SCHED_YIELD: + * This symbol defines the way to yield the execution of + * the current thread. Known ways are sched_yield, + * pthread_yield, and pthread_yield with NULL. */ /* HAS_SCHED_YIELD: * This symbol, if defined, indicates that the sched_yield * routine is available to yield the execution of the current - * thread. + * thread. sched_yield is preferable to pthread_yield. */ /*#define HAS_PTHREAD_YIELD /**/ +#define SCHED_YIELD /**/ /*#define HAS_SCHED_YIELD /**/ /* PTHREADS_CREATED_JOINABLE: @@ -2241,6 +2274,12 @@ */ /*#define PTHREADS_CREATED_JOINABLE /**/ +/* MULTIPLICITY: + * This symbol, if defined, indicates that Perl should + * be built to use multiplicity. + */ +/*#define MULTIPLICITY /**/ + /* USE_THREADS: * This symbol, if defined, indicates that Perl should * be built to use threads. @@ -2287,7 +2326,11 @@ * It can be int, long, off_t, etc... It may be necessary to include * <sys/types.h> to get any typedef'ed information. */ +/* LSEEKSIZE: + * This symbol holds the number of bytes used by the Off_t. + */ #define Off_t off_t /* <offset> type */ +#define LSEEKSIZE 4 /* <offset> size */ /* Mode_t: * This symbol holds the type used to declare file modes |