Merge pull request #1210 from alexDarcy/master

FreeBSD: use gsed instead of sed
This commit is contained in:
Terminator X 2021-10-28 16:06:49 +05:30 committed by GitHub
commit 684a8c7b99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -202,7 +202,8 @@
#define CTX_MAX 8 #define CTX_MAX 8
#endif #endif
#ifdef __APPLE__ /* BSDs or Solaris or SunOS */
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(sun) || defined(__sun)
#define SED "gsed" #define SED "gsed"
#else #else
#define SED "sed" #define SED "sed"