Skip to content
2 changes: 1 addition & 1 deletion include/grass/gis.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ static const char *GRASS_copyright UNUSED = "GRASS GNU GPL licensed Software";
#define WKT_FILE "PROJ_WKT"
#define SRID_FILE "PROJ_SRID"

#ifdef __MINGW32__
#ifdef _WIN32
#define CONFIG_DIR "GRASS8"
#else
#define CONFIG_DIR ".grass8"
Expand Down
2 changes: 1 addition & 1 deletion lib/db/dbmi_base/dirent.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
#include <grass/dbmi.h>

/* NOTE: these should come from <unistd.h> or from <sys/file.h> */
#ifndef R_OK
#if !defined(HAVE_UNISTD_H)
#ifndef R_OK
#define R_OK 4
#endif
#ifndef W_OK
Expand Down
Loading