Merge pull request #180 from krrrcks/master

Fix for building on FreeBSD (issue #178)
original commit: c2f4b8dd80f60a5b9bcf62e4d4a5845197227c3f
This commit is contained in:
Andy Keep 2017-06-18 11:58:53 -04:00 committed by GitHub
commit a3f05bac83
2 changed files with 2 additions and 1 deletions

1
LOG
View File

@ -514,3 +514,4 @@
- support Windows build on Bash/WSL
BUILDING, configure, workarea, c/vs.bat (new), mats/vs.bat (new),
c/Mf-*nt, mats/Mf-*, s/Mf-base
- fix c/version.h for FreeBDS (machine types i3fb, ti3fb, a6fb, ta6fb)

View File

@ -140,7 +140,7 @@ typedef int tputsputcchar;
#define NSECATIME(sb) (sb).st_atimespec.tv_nsec
#define NSECCTIME(sb) (sb).st_ctimespec.tv_nsec
#define NSECMTIME(sb) (sb).st_mtimespec.tv_nsec
#define ICONV_INBUF_TYPE const char **
#define ICONV_INBUF_TYPE char **
#define UNUSED __attribute__((__unused__))
#endif