Integrate from mainperl.
[p5sagit/p5-mst-13.2.git] / win32 / config_H.vc
index a6055f4..a086d75 100644 (file)
  *     This symbol is the filename expanded version of the BIN symbol, for
  *     programs that do not want to deal with that at run-time.
  */
-#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 ""
+#define BIN "c:\\perl\\5.00554\\bin\\MSWin32-x86"      /**/
+#define BIN_EXP "c:\\perl\\5.00554\\bin\\MSWin32-x86"  /**/
 
 /* HAS_ALARM:
  *     This symbol, if defined, indicates that the alarm routine is
 
 /* 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                /**/
 
  */
 #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()/(double)((unsigned)1<<RANDBITS))                /**/
+#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
 #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.
  *     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
  *     the sig_name list.
  */
 #define SIG_NAME "ZERO", "NUM01", "INT", "QUIT", "ILL", "NUM05", "NUM06", "NUM07", "FPE", "KILL", "NUM10", "SEGV", "NUM12", "PIPE", "ALRM", "TERM", "NUM16", "NUM17", "NUM18", "NUM19", "CHLD", "BREAK", "ABRT", "STOP", "NUM24", "CONT", "CLD", 0             /**/
-#define SIG_NUM  0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 20, 0                   /**/
+#define SIG_NUM  0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 20, 0           /**/
 
 /* VOIDFLAGS:
  *     This symbol indicates how much support of the void type is given by this
  *     This symbol contains the ~name expanded version of ARCHLIB, to be used
  *     in programs that are not prepared to deal with ~ expansion at run-time.
  */
-#define ARCHLIB "c:\\perl\\5.00552\\lib\\MSWin32-x86"          /**/
+#define ARCHLIB "c:\\perl\\5.00554\\lib\\MSWin32-x86"          /**/
 /*#define ARCHLIB_EXP ""       /**/
 
 /* DLSYM_NEEDS_UNDERSCORE:
  *     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:
  *     This symbol contains the ~name expanded version of PRIVLIB, to be used
  *     in programs that are not prepared to deal with ~ expansion at run-time.
  */
-#define PRIVLIB "c:\\perl\\5.00552\\lib"               /**/
-#define PRIVLIB_EXP (win32_get_privlib("5.00552"))     /**/
+#define PRIVLIB "c:\\perl\\5.00554\\lib"               /**/
+#define PRIVLIB_EXP (win32_get_privlib("5.00554"))     /**/
 
 /* SELECT_MIN_BITS:
  *     This symbol holds the minimum number of bits operated by select.
  *     This symbol contains the ~name expanded version of SITEARCH, to be used
  *     in programs that are not prepared to deal with ~ expansion at run-time.
  */
-#define SITEARCH "c:\\perl\\site\\5.00552\\lib\\MSWin32-x86"           /**/
+#define SITEARCH "c:\\perl\\site\\5.00554\\lib\\MSWin32-x86"           /**/
 /*#define SITEARCH_EXP ""      /**/
 
 /* SITELIB:
  *     This symbol contains the ~name expanded version of SITELIB, to be used
  *     in programs that are not prepared to deal with ~ expansion at run-time.
  */
-#define SITELIB "c:\\perl\\site\\5.00552\\lib"         /**/
-#define SITELIB_EXP (win32_get_sitelib("5.00552"))     /**/
+#define SITELIB "c:\\perl\\site\\5.00554\\lib"         /**/
+#define SITELIB_EXP (win32_get_sitelib("5.00554"))     /**/
 
 /* STARTPERL:
  *     This variable contains the string to put in front of a perl
 /*#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             /**/
  */
 /*#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
 /* 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:
- *     This symbol, if defined, indicates that pthreads are created
- *     in the joinable (aka undetached) state.
+/* I_MACH_CTHREADS:
+ *     This symbol, if defined, indicates to the C program that it should
+ *     include <mach/cthreads.h>.
  */
-/*#define PTHREADS_CREATED_JOINABLE /**/
+/*#define   I_MACH_CTHREADS    /**/
+
+/* 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
  *     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