forked from enlightenment/efl
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:
parent
ac61b77e3e
commit
fa8549c20c
|
@ -12,6 +12,10 @@
|
||||||
# include <sys/resource.h>
|
# include <sys/resource.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
# include <evil_private.h> /* realpath */
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "edje_cc.h"
|
#include "edje_cc.h"
|
||||||
int _edje_cc_log_dom = -1;
|
int _edje_cc_log_dom = -1;
|
||||||
static void main_help(void);
|
static void main_help(void);
|
||||||
|
|
|
@ -7,6 +7,10 @@
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
# include <evil_private.h> /* realpath */
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "elm_prefs_cc.h"
|
#include "elm_prefs_cc.h"
|
||||||
|
|
||||||
int _elm_prefs_cc_log_dom = -1;
|
int _elm_prefs_cc_log_dom = -1;
|
||||||
|
|
|
@ -115,6 +115,9 @@ EAPI int mkstemps(char *__template, int suffixlen);
|
||||||
* Supported OS: Windows XP.
|
* Supported OS: Windows XP.
|
||||||
*/
|
*/
|
||||||
EAPI char *realpath(const char *file_name, char *resolved_name);
|
EAPI char *realpath(const char *file_name, char *resolved_name);
|
||||||
|
#ifndef HAVE_REALPATH
|
||||||
|
#define HAVE_REALPATH 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue