diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2013-03-04 15:56:17 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2013-03-04 15:56:17 +0200 |
commit | 9e0c24df04a136c9128770e1f2ea8cdaac268e1c (patch) | |
tree | dd5a6c014cc84e18b4ec88e418b253bb17480953 /pc | |
parent | 0b59be74188529bcb0aa3476fee51a525b365391 (diff) | |
download | egawk-9e0c24df04a136c9128770e1f2ea8cdaac268e1c.tar.gz egawk-9e0c24df04a136c9128770e1f2ea8cdaac268e1c.tar.bz2 egawk-9e0c24df04a136c9128770e1f2ea8cdaac268e1c.zip |
Make buildable on DJGPP.
Diffstat (limited to 'pc')
-rw-r--r-- | pc/ChangeLog | 8 | ||||
-rw-r--r-- | pc/Makefile | 2 | ||||
-rw-r--r-- | pc/config.sed | 9 |
3 files changed, 18 insertions, 1 deletions
diff --git a/pc/ChangeLog b/pc/ChangeLog index e7378b5f..d4116865 100644 --- a/pc/ChangeLog +++ b/pc/ChangeLog @@ -1,3 +1,11 @@ +2013-03-04 Scott Deifik <scottd.mail@sbcglobal.net> + + * Makefile: Build additional C source files. + +2013-03-04 Eli Zaretskii <eliz@gnu.org> + + * config.sed: Fixes to build on DJGPP. + 2013-02-09 Eli Zaretskii <eliz@gnu.org> * gawkmisc.pc (dlopen, dlerror, dlclose, dlsym) [DYNAMIC]: New diff --git a/pc/Makefile b/pc/Makefile index 71197c53..b2344460 100644 --- a/pc/Makefile +++ b/pc/Makefile @@ -220,6 +220,8 @@ gawk.exe:: $(GAWKOBJS) $(RSP) $(RSPFILE) : $(GAWKOBJS) echo $(AWKOBJS1)$P > $@ echo $(AWKOBJS2)$P >> $@ + echo $(AWKOBJS3)$P >> $@ + echo $(AWKOBJS4)$P >> $@ echo awkgram$O getid$O $(OBJ) $(LIBOBJS)$P >> $@ # Notes to dependencies: diff --git a/pc/config.sed b/pc/config.sed index 6f76f43e..f70f9275 100644 --- a/pc/config.sed +++ b/pc/config.sed @@ -26,7 +26,7 @@ /configh\.in/a\ /* pc/config.h. Generated automatically by pc/config.sed. */ -/^#undef DYNAMIC$\c +/^#undef DYNAMIC$/c\ #ifdef _WIN32\ #define DYNAMIC 1\ #endif @@ -273,6 +273,13 @@ $a\ #define HAVE_POPEN_H 1\ #endif\ \ +#if defined(__DJGPP__)\ +typedef unsigned int uint32_t;\ +typedef int int32_t;\ +#define INT32_MAX INT_MAX\ +#define INT32_MIN INT_MIN\ +#endif\ +\ #if defined(__EMX__)\ #define strcasecmp stricmp\ #define strncasecmp strnicmp\ |