1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-10-27 05:23:18 -04:00
rofi/source/modes
Sainnhe Park 28ad6e34cf
[filebrowser] Fix st_atim undefined on macOS (#1662)
When compiling on macOS, an error message will pop up:

```
error: no member named 'st_atim' in 'struct stat'
```

This is because `st_atim`, `st_ctim` and `st_mtim` does not exist on
macOS, instead it uses `st_atimespec`, `st_ctimespec` and
`st_mtimespec`.

In this commit, 3 macros are defined to try to fix this problem.

Reference: https://github.com/hboetes/mg/issues/7
2022-07-28 18:19:39 +02:00
..
combi.c [Build] Fix some compile warnings. 2022-07-23 00:28:55 +02:00
dmenu.c [DMenu] Fix completion with multi-select 2022-07-26 22:12:20 +02:00
drun.c [Build] Fix some compile warnings. 2022-07-23 00:28:55 +02:00
filebrowser.c [filebrowser] Fix st_atim undefined on macOS (#1662) 2022-07-28 18:19:39 +02:00
help-keys.c
run.c [Build] Fix some compile warnings. 2022-07-23 00:28:55 +02:00
script.c [Script] Add new-selection option. 2022-07-24 01:08:24 +02:00
ssh.c
window.c [window] Add an option to hide active window. 2022-07-24 00:52:13 +02:00