use mzconfig in Xpm to detect 64-bit longs
svn: r7564
This commit is contained in:
parent
e17311c4eb
commit
1ea6ddc9e9
|
@ -55,7 +55,8 @@ LDFLAGS = $(XLIB)
|
|||
|
||||
XPMCC = $(CC)
|
||||
|
||||
XPM_CC = $(XPMCC) $(CFLAGS) -c
|
||||
# Extra -I to get mzconfig.h:
|
||||
XPM_CC = $(XPMCC) $(CFLAGS) -I../../../../mzscheme -c
|
||||
|
||||
OBJS= data.@LTO@ create.@LTO@ misc.@LTO@ rgb.@LTO@ \
|
||||
scan.@LTO@ parse.@LTO@ hashtab.@LTO@ \
|
||||
|
|
|
@ -75,6 +75,14 @@ extern FILE *popen();
|
|||
#define bzero(b, len) memset(b, 0, len)
|
||||
#endif
|
||||
|
||||
/* PLTSCHEME hack: */
|
||||
#include "mzconfig.h"
|
||||
#ifdef SIZEOF_LONG
|
||||
# if SIZEOF_LONG == 8
|
||||
# define LONG64
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* the following is defined in X11R6 but not in previous versions */
|
||||
#ifdef __alpha
|
||||
#ifndef LONG64
|
||||
|
|
Loading…
Reference in New Issue
Block a user