Changeset 4140 for trunk/src/alloc.c
- Timestamp:
- 08/10/06 11:19:54 (2 years ago)
- Files:
-
- trunk/src/alloc.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/alloc.c
r4131 r4140 77 77 #ifndef O_WRONLY 78 78 #define O_WRONLY 1 79 #endif 80 81 #ifdef WINDOWSNT 82 #include <fcntl.h> 83 #include "w32.h" 79 84 #endif 80 85 … … 4612 4617 4613 4618 /* Determine whether it is safe to access memory at address P. */ 4614 int valid_pointer_p (p) 4619 int 4620 valid_pointer_p (p) 4615 4621 void *p; 4616 4622 { 4623 #ifdef WINDOWSNT 4624 return w32_valid_pointer_p (p, 16); 4625 #else 4617 4626 int fd; 4618 4627 … … 4631 4640 4632 4641 return -1; 4642 #endif 4633 4643 } 4634 4644
