]> git.ipfire.org Git - thirdparty/bind9.git/commit
_getcwd() on Windows needs direct.h header
authorOndřej Surý <ondrej@isc.org>
Thu, 16 Apr 2020 11:13:00 +0000 (13:13 +0200)
committerOndřej Surý <ondrej@isc.org>
Thu, 16 Apr 2020 11:13:00 +0000 (13:13 +0200)
commit5e2d19911fafc59f363a3e08d2013b56d6651982
treedb503b7321a0493c3c34c81ffc124a0918600496
parentebb6165839a49785cf831acdc1372df6cfc1dbbf
_getcwd() on Windows needs direct.h header

The _getcwd() compatibility function on Microsoft CRT requires direct.h
header to pull a proper function prototype.

The (misleading) warning generated:

  bin\named\server.c(1074): warning C4047: '==': 'int' differs in levels of indirection from 'void *'
lib/isc/win32/include/isc/dir.h