define HAVE_REALPATH in evil_stdlib.h

Summary: instead of relying on build system, define HAVE_REALPATH in Evil header file

Reviewers: zmike, raster, cedric

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9107
This commit is contained in:
Vincent Torri 2019-06-18 13:22:05 +01:00 committed by Carsten Haitzler (Rasterman)
parent ac61b77e3e
commit fa8549c20c
3 changed files with 11 additions and 0 deletions

View File

@ -12,6 +12,10 @@
# include <sys/resource.h>
#endif
#ifdef _WIN32
# include <evil_private.h> /* realpath */
#endif
#include "edje_cc.h"
int _edje_cc_log_dom = -1;
static void main_help(void);

View File

@ -7,6 +7,10 @@
#include <limits.h>
#include <sys/stat.h>
#ifdef _WIN32
# include <evil_private.h> /* realpath */
#endif
#include "elm_prefs_cc.h"
int _elm_prefs_cc_log_dom = -1;

View File

@ -115,6 +115,9 @@ EAPI int mkstemps(char *__template, int suffixlen);
* Supported OS: Windows XP.
*/
EAPI char *realpath(const char *file_name, char *resolved_name);
#ifndef HAVE_REALPATH
#define HAVE_REALPATH 1
#endif
/**