Move compile_commands.json to build directory

This commit is contained in:
Kovid Goyal
2023-01-26 13:43:12 +05:30
parent 084671b26e
commit b408abe304
4 changed files with 4 additions and 5 deletions

View File

@@ -40,7 +40,7 @@
#include <xlocale.h>
static PyObject*
user_cache_dir() {
user_cache_dir(void) {
static char buf[1024];
if (!confstr(_CS_DARWIN_USER_CACHE_DIR, buf, sizeof(buf) - 1)) return PyErr_SetFromErrno(PyExc_OSError);
return PyUnicode_FromString(buf);