Show
Ignore:
Timestamp:
08/10/06 11:19:54 (2 years ago)
Author:
miyoshi
Message:

Sync up with Emacs CVS HEAD.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/alloc.c

    r4131 r4140  
    7777#ifndef O_WRONLY 
    7878#define O_WRONLY 1 
     79#endif 
     80 
     81#ifdef WINDOWSNT 
     82#include <fcntl.h> 
     83#include "w32.h" 
    7984#endif 
    8085 
     
    46124617 
    46134618/* Determine whether it is safe to access memory at address P.  */ 
    4614 int valid_pointer_p (p) 
     4619int 
     4620valid_pointer_p (p) 
    46154621     void *p; 
    46164622{ 
     4623#ifdef WINDOWSNT 
     4624  return w32_valid_pointer_p (p, 16); 
     4625#else 
    46174626  int fd; 
    46184627 
     
    46314640 
    46324641    return -1; 
     4642#endif 
    46334643} 
    46344644