[win32] integrate mainline
[p5sagit/p5-mst-13.2.git] / win32 / config_H.gc
index 012d2e0..c652897 100644 (file)
@@ -47,7 +47,7 @@
  *     where library files may be held under a private library, for
  *     instance.
  */
-#define ARCHNAME "MSWin32-x86-thread"          /**/
+#define ARCHNAME "MSWin32-x86"         /**/
 
 /* BIN:
  *     This symbol holds the path of the bin directory where the package will
  */
 /*#define HAS_GETHOSTENT               /**/
 
-/* HAS_GETHBADD:
+/* HAS_GETHOSTBYADDR:
  *     This symbol, if defined, indicates that the gethostbyaddr routine is
- *     available to lookup host names by their IP addresses.
+ *     available to lookup hosts by their IP addresses.
  */
-/*#define HAS_GETHBADD         /**/
+#define HAS_GETHOSTBYADDR              /**/
 
-/* Gethbadd_addr_t:
+/* Netdb_host_t:
  *     This symbol holds the type used for the 1st argument
  *     to gethostbyaddr().
  */
-#define Gethbadd_addr_t                char *
+#define Netdb_host_t           char *
 
-/* Gethbadd_alen_t:
+/* Netdb_hlen_t:
  *     This symbol holds the type used for the 2nd argument
  *     to gethostbyaddr().
  */
-#define Gethbadd_alen_t                int
+#define Netdb_hlen_t           int
 
-/* HAS_GETNBADD:
+/* HAS_GETHOSTBYNAME:
+ *     This symbol, if defined, indicates that the gethostbyname routine is
+ *     available to lookup hosts by their DNS names.
+ */
+#define HAS_GETHOSTBYNAME              /**/
+
+/* Netdb_name_t:
+ *     This symbol holds the type used for the 1st argument
+ *     to gethostbyname(), the 1st argument to getnetbyname(),
+ *     the 1st argument to getprotobyname(), the 1st argument to
+ *     getservbyname(), the 2nd argument to getservbyname(),
+ *     and the 2nd argument to getservbyport().
+ */
+#define Netdb_name_t           char *
+
+/* HAS_GETNETBYADDR:
  *     This symbol, if defined, indicates that the getnetbyaddr routine is
  *     available to lookup networks by their IP addresses.
  */
-/*#define HAS_GETNBADD         /**/
+/*#define HAS_GETNETBYADDR             /**/
 
-/* Gethbadd_net_t:
+/* Netdb_net_t:
  *     This symbol holds the type used for the 1st argument
  *     to getnetbyaddr().
  */
-#define Getnbadd_net_t         long
+#define Netdb_net_t            long
+
+/* HAS_GETNETBYNAME:
+ *     This symbol, if defined, indicates that the getnetbyname routine is
+ *     available to lookup networks by their names.
+ */
+/*#define HAS_GETNETBYNAME             /**/
+
+/* HAS_GETPROTOBYNAME:
+ *     This symbol, if defined, indicates that the getprotobyname routine is
+ *     available to lookup protocols by their names.
+ */
+#define HAS_GETPROTOBYNAME             /**/
+
+/* HAS_GETPROTOBYNUMBER:
+ *     This symbol, if defined, indicates that the getprotobynumber routine is
+ *     available to lookup protocols by their numbers.
+ */
+#define HAS_GETPROTOBYNUMBER           /**/
+
+/* HAS_GETSERVBYNAME:
+ *     This symbol, if defined, indicates that the getservbyname routine is
+ *     available to lookup services by their names.
+ */
+#define HAS_GETSERVBYNAME              /**/
+
+/* HAS_GETSERVBYPORT:
+ *     This symbol, if defined, indicates that the getservbyport routine is
+ *     available to lookup services by their ports.
+ */
+#define HAS_GETSERVBYPORT              /**/
 
 /* HAS_UNAME:
  *     This symbol, if defined, indicates that the C program may use the
  *     This symbol, if defined, indicates that the getlogin routine is
  *     available to get the login name.
  */
-/*#define HAS_GETLOGIN         /**/
+#define HAS_GETLOGIN           /**/
 
 /* HAS_GETPGRP2:
  *     This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
  */
 /*#define HAS_POLL             /**/
 
+/* HAS_PTHREAD_YIELD:
+ *     This symbol, if defined, indicates that the pthread_yield routine is
+ *     available to yield the execution of the current thread.
+ */
+#undef HAS_PTHREAD_YIELD
+
 /* HAS_READDIR:
  *     This symbol, if defined, indicates that the readdir routine is
  *     available to read directory entries. You may have to include
  */
 #define HAS_READDIR            /**/
 
+/* HAS_SCHED_YIELD:
+ *     This symbol, if defined, indicates that the sched_yield
+ *     routine is available to yield the execution of the current thread.
+ */
+#undef HAS_SCHED_YIELD
+
 /* HAS_SEEKDIR:
  *     This symbol, if defined, indicates that the seekdir routine is
  *     available. You may have to include <dirent.h>. See I_DIRENT.
  *     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\\lib\\MSWin32-x86-thread"            /**/
-#define ARCHLIB_EXP (win32PerlLibPath(ARCHNAME,NULL))  /**/
+#define ARCHLIB "c:\\perl\\lib\\MSWin32-x86"           /**/
+#define ARCHLIB_EXP (win32_perllib_path(ARCHNAME,NULL))        /**/
 
 /* BINCOMPAT3:
  *     This symbol, if defined, indicates that Perl 5.004 should be
  */
 /*#define      USE_SFIO                /**/
 
+/* PTHREADS_CREATED_JOINABLE:
+ *     This symbol, if defined, indicates that pthreads are created
+ *     in the joinable (aka undetached) state.
+ */
+/*#define      PTHREADS_CREATED_JOINABLE               /**/
+
 /* Sigjmp_buf:
  *     This is the buffer type to be used with Sigsetjmp and Siglongjmp.
  */
  *     in programs that are not prepared to deal with ~ expansion at run-time.
  */
 #define PRIVLIB "c:\\perl\\lib"                /**/
-#define PRIVLIB_EXP (win32PerlLibPath(NULL))   /**/
+#define PRIVLIB_EXP (win32_perllib_path(NULL)) /**/
 
 /* SH_PATH:
  *     This symbol contains the full pathname to the shell used on this
  *     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\\lib\\site"         /**/
-#define SITEARCH_EXP (win32PerlLibPath("site",ARCHNAME,NULL))  /**/
+#define SITEARCH "c:\\perl\\lib\\site\\MSWin32-x86"            /**/
+#define SITEARCH_EXP (win32_perllib_path("site",ARCHNAME,NULL))        /**/
 
 /* SITELIB:
  *     This symbol contains the name of the private library for this package.
  *     in programs that are not prepared to deal with ~ expansion at run-time.
  */
 #define SITELIB "c:\\perl\\lib\\site"          /**/
-#define SITELIB_EXP (win32PerlLibPath("site",NULL))    /**/
+#define SITELIB_EXP (win32_perllib_path("site",NULL))  /**/
 
 /* STARTPERL:
  *     This variable contains the string to put in front of a perl
 
 #endif
 #include <win32.h>
-#ifndef DEBUGGING
-#define DEBUGGING
-#endif