Additional portability fix for MacOS X
This commit is contained in:
parent
55838969c2
commit
387866f1aa
@ -2195,7 +2195,11 @@ static void _plugins_on_cancel(gpointer data)
|
|||||||
DIR * dir;
|
DIR * dir;
|
||||||
struct dirent * de;
|
struct dirent * de;
|
||||||
GtkIconTheme * theme;
|
GtkIconTheme * theme;
|
||||||
|
#ifdef __APPLE__
|
||||||
|
char const ext[] = ".dylib";
|
||||||
|
#else
|
||||||
char const ext[] = ".so";
|
char const ext[] = ".so";
|
||||||
|
#endif
|
||||||
size_t len;
|
size_t len;
|
||||||
GtkTreeIter iter;
|
GtkTreeIter iter;
|
||||||
Plugin * p;
|
Plugin * p;
|
||||||
|
Loading…
Reference in New Issue
Block a user