projects
/
chise
/
xemacs-chise.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(charset_code_point): Add new argument `defined_only'.
[chise/xemacs-chise.git-]
/
src
/
regex.c
diff --git
a/src/regex.c
b/src/regex.c
index
ae2f523
..
f7523f5
100644
(file)
--- a/
src/regex.c
+++ b/
src/regex.c
@@
-132,13
+132,19
@@
char *malloc ();
char *realloc ();
#endif
char *realloc ();
#endif
-/* Other types */
+/* Types normally included via lisp.h */
#include <stddef.h> /* for ptrdiff_t */
#include <stddef.h> /* for ptrdiff_t */
-#define charptr_emchar(str) ((Emchar) (str)[0])
+#ifdef REGEX_MALLOC
+#ifndef DECLARE_NOTHING
+#define DECLARE_NOTHING struct nosuchstruct
+#endif
+#endif
typedef int Emchar;
typedef int Emchar;
+#define charptr_emchar(str) ((Emchar) (str)[0])
+
#define INC_CHARPTR(p) ((p)++)
#define DEC_CHARPTR(p) ((p)--)
#define INC_CHARPTR(p) ((p)++)
#define DEC_CHARPTR(p) ((p)--)