/[cvs]/ccvs/windows-NT/config.h.in
ViewVC logotype

Diff of /ccvs/windows-NT/config.h.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.95 by dprice, Tue Sep 20 02:49:54 2005 UTC revision 1.96 by dprice, Fri Sep 23 03:42:41 2005 UTC
# Line 1294  Line 1294 
1294     it because _open_osfhandle doesn't work.  */     it because _open_osfhandle doesn't work.  */
1295  #define NO_SOCKET_TO_FD 1  #define NO_SOCKET_TO_FD 1
1296    
1297    /* Is this true on NT?  Seems like I remember reports that NT 3.51 has
1298       problems with 200K writes (of course, the issue of large writes is
1299       moot since the use of buffer.c ensures that writes will only be as big
1300       as the buffers).  */
1301    #define SEND_NEVER_PARTIAL 1
1302    
1303  /* Stop server macro */  /* Stop server macro */
1304  #define SHUTDOWN_SERVER wnt_shutdown_server  #define SHUTDOWN_SERVER wnt_shutdown_server
1305    
# Line 1324  Line 1330 
1330  /* Macro name tells the story */  /* Macro name tells the story */
1331  #define SYSTEM_INITIALIZE(pargc,pargv) woe32_init_winsock()  #define SYSTEM_INITIALIZE(pargc,pargv) woe32_init_winsock()
1332    
1333  /* Is this true on NT?  Seems like I remember reports that NT 3.51 has  /*
1334     problems with 200K writes (of course, the issue of large writes is   * According to GNU conventions, we should avoid referencing any macro
1335     moot since the use of buffer.c ensures that writes will only be as big   * containing "WIN" as a reference to Microsoft Windows, as we would like to
1336     as the buffers).  */   * avoid any implication that we consider Microsoft Windows any sort of "win".
1337  #define SEND_NEVER_PARTIAL 1   *
1338     * FIXME: As of 2003-06-09, folks on the GNULIB project were discussing
1339     * defining a configure macro to define WOE32 appropriately.  If they ever do
1340     * write such a beast, we should use it, though in most cases it would be
1341     * preferable to avoid referencing any OS or compiler anyhow, per Autoconf
1342     * convention, and reference only tested features of the system.
1343     *
1344     * re FIXME: This definition would still be necessary since systems which run
1345     * configure do not use this config.h and vice-versa.
1346     */
1347    #define WOE32 1
1348    
1349  /* Define POSIX name to Microsoft name */  /* Define POSIX name to Microsoft name */
1350  #define dup _dup  #define dup _dup
# Line 1336  Line 1352 
1352  /* getpagesize is missing on Windows, 4096 does the right thing. */  /* getpagesize is missing on Windows, 4096 does the right thing. */
1353  #define getpagesize() 4096  #define getpagesize() 4096
1354    
1355    /* Define to a substitute for the `lstat' function. */
1356    #define lstat stat
1357    
1358  /* Define POSIX name to Microsoft name */  /* Define POSIX name to Microsoft name */
1359  #define popen _popen  #define popen _popen
1360    
# Line 1348  Line 1367 
1367     now we put it here.  */     now we put it here.  */
1368  #define same_file(s,t) (-1)  #define same_file(s,t) (-1)
1369    
1370    /* Define to a substitute for the stat function. */
1371    #define stat wnt_stat
1372    
1373  /* ====================== Typedef Declarations Follow ===================== */  /* ====================== Typedef Declarations Follow ===================== */
1374    
1375  /* ====================== Function Prototypes Follow ====================== */  /* ====================== Function Prototypes Follow ====================== */
# Line 1375  void wnt_start_server (int *tofd, int *f Line 1397  void wnt_start_server (int *tofd, int *f
1397    
1398  /* #define stat wnt_stat and #define lstat wnt_stat */  /* #define stat wnt_stat and #define lstat wnt_stat */
1399  int wnt_stat (const char *file, struct wnt_stat *sb);  int wnt_stat (const char *file, struct wnt_stat *sb);
   
 /* Define to a substitute for the `lstat' function. */  
 #define lstat stat  
   
 /* Define to a substitute for the stat function. */  
 #define stat wnt_stat  
   
 /*  
  * According to GNU conventions, we should avoid referencing any macro  
  * containing "WIN" as a reference to Microsoft Windows, as we would like to  
  * avoid any implication that we consider Microsoft Windows any sort of "win".  
  *  
  * FIXME: As of 2003-06-09, folks on the GNULIB project were discussing  
  * defining a configure macro to define WOE32 appropriately.  If they ever do  
  * write such a beast, we should use it, though in most cases it would be  
  * preferable to avoid referencing any OS or compiler anyhow, per Autoconf  
  * convention, and reference only tested features of the system.  
  *  
  * re FIXME: This definition would still be necessary since systems which run  
  * configure do not use this config.h and vice-versa.  
  */  
 #define WOE32 1  

Legend:
Removed from v.1.95  
changed lines
  Added in v.1.96

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26