Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f892cf9c
Commit
f892cf9c
authored
Aug 05, 2006
by
Eli Zaretskii
Browse files
Include w32.h.
(valid_lisp_object_p) [WINDOWSNT]: Call w32_valid_pointer_p to do the job.
parent
0c5c0e3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/alloc.c
src/alloc.c
+5
-0
No files found.
src/alloc.c
View file @
f892cf9c
...
...
@@ -80,6 +80,7 @@ extern POINTER_TYPE *sbrk ();
#ifdef WINDOWSNT
#include <fcntl.h>
#include "w32.h"
#endif
#ifdef DOUG_LEA_MALLOC
...
...
@@ -4615,6 +4616,9 @@ int
valid_pointer_p
(
p
)
void
*
p
;
{
#ifdef WINDOWSNT
return
w32_valid_pointer_p
(
p
,
16
);
#else
int
fd
;
/* Obviously, we cannot just access it (we would SEGV trying), so we
...
...
@@ -4631,6 +4635,7 @@ valid_pointer_p (p)
}
return
-
1
;
#endif
}
/* Return 1 if OBJ is a valid lisp object.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment