Skip to content

Commit 1829e59

Browse files
committed
fixup??? compat/mingw: split out POSIX-related bits
A simple `#include "posix.h"` without dropping `-Icompat` from the command-line will find `compat/posix.h`. In `compat/mingw/compat-util.h`, that is not what we want to include, but `compat/mingw/posix.h`. In the long run we may want to reconsider using identical basenames multiple times. This also helps with `gdb` where it is hard to impossible to set breakpoints or list code in files with files with filenames that are reused in other directories. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent b08a205 commit 1829e59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compat/mingw/compat-util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef COMPAT_MINGW_COMPAT_UTIL_H
22
#define COMPAT_MINGW_COMPAT_UTIL_H
33

4-
#include "posix.h"
4+
#include "compat/mingw/posix.h"
55

66
extern int core_fscache;
77
int are_long_paths_enabled(void);

0 commit comments

Comments
 (0)