fixed a build issue for missing lchown against old macosx sdks
added Awk::writeConsoleBytes(), Awk::writePipeBytes(), Awk::writeFileBytes()
This commit is contained in:
		| @ -346,9 +346,9 @@ int qse_fs_setattrsys (qse_fs_t* fs, qse_fs_char_t* path, const qse_fattr_t* att | ||||
| 		int x; | ||||
|  | ||||
| 		if (flags & QSE_FILE_ATTR_SYMLINK) | ||||
| 			x = QSE_LCHOWN (path, attr->uid, attr->gid); | ||||
| 			x = QSE_LCHOWN(path, attr->uid, attr->gid); | ||||
| 		else | ||||
| 			x = QSE_CHOWN (path, attr->uid, attr->gid); | ||||
| 			x = QSE_CHOWN(path, attr->uid, attr->gid); | ||||
|  | ||||
| 		if (x <= -1) | ||||
| 		{ | ||||
|  | ||||
| @ -34,6 +34,7 @@ | ||||
| 	/* TODO: windows event log */ | ||||
| #else | ||||
| 	#include <syslog.h> | ||||
| 	#include <sys/types.h> | ||||
| 	#include <sys/socket.h> | ||||
| 	#include <netinet/in.h> | ||||
| 	#include <sys/un.h> | ||||
|  | ||||
| @ -35,6 +35,7 @@ | ||||
| #else  | ||||
| #	include <setjmp.h> | ||||
| #	if defined(HAVE_UCONTEXT_H) | ||||
| #		include <signal.h> /* for old DARWIN/MACOSX */ | ||||
| #		include <ucontext.h> | ||||
| #	endif | ||||
| #	if defined(HAVE_MAKECONTEXT) && defined(HAVE_SWAPCONTEXT) && \ | ||||
|  | ||||
		Reference in New Issue
	
	Block a user