Skip to content
Snippets Groups Projects
Commit 339e0ee6 authored by Alexander Schwinn's avatar Alexander Schwinn
Browse files

Use realpath only if available on platform (#1030)

parent c7fa6320
No related branches found
No related tags found
No related merge requests found
Pipeline #20889 passed
...@@ -144,7 +144,7 @@ dnl *** Check for standard functions *** ...@@ -144,7 +144,7 @@ dnl *** Check for standard functions ***
dnl ************************************ dnl ************************************
AC_FUNC_MMAP() AC_FUNC_MMAP()
AC_CHECK_FUNCS([localeconv mkdtemp pread pwrite sched_yield setgroupent \ AC_CHECK_FUNCS([localeconv mkdtemp pread pwrite sched_yield setgroupent \
setpassent strcoll strlcpy strptime symlink atexit]) setpassent strcoll strlcpy strptime symlink atexit realpath])
dnl ****************************** dnl ******************************
dnl *** Check for i18n support *** dnl *** Check for i18n support ***
......
...@@ -33,6 +33,10 @@ ...@@ -33,6 +33,10 @@
#include <stdlib.h> /* realpath */ #include <stdlib.h> /* realpath */
#endif #endif
#ifndef HAVE_REALPATH
#define realpath(path, resolved_path) NULL
#endif
#include <libxfce4util/libxfce4util.h> #include <libxfce4util/libxfce4util.h>
#include <thunar/thunar-file.h> #include <thunar/thunar-file.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment