win32: Fix compilation due to recent changes in Evil

Summary:
dlfcn.h is not available anymore on Windows, Evil provides all the
necessary declarations.

Reviewers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D3577

@fix
This commit is contained in:
Vincent Torri 2016-01-18 13:48:20 +09:00 committed by Jean-Philippe Andre
parent 669cd788ba
commit 3117b8ca5a
4 changed files with 12 additions and 9 deletions

View File

@ -5,8 +5,6 @@
#include <Eina.h>
#include <Ector.h>
#include <dlfcn.h>
#include "gl/Ector_GL.h"
#include "ector_private.h"
#include "ector_gl_private.h"

View File

@ -6,8 +6,6 @@
#include <Eet.h>
#include <Ector.h>
#include <dlfcn.h>
#include "gl/Ector_GL.h"
#include "ector_private.h"
#include "ector_gl_private.h"

View File

@ -21,20 +21,27 @@ x * This header provides functions to load and unload dynamic-link
* @def RTLD_LAZY
* Lazy function call binding.
*/
# define RTLD_LAZY 0x00001 /* lazy function call binding */
# define RTLD_LAZY 0x00001 /* lazy function call binding. Unused */
/**
* @def RTLD_NOW
* Immediate function call binding.
*/
# define RTLD_NOW 0x00002 /* immediate function call binding */
# define RTLD_NOW 0x00002 /* immediate function call binding. Unused */
/**
* @def RTLD_GLOBAL
* Symbols in this dlopen'ed obj are visible to other dlopen'ed objs.
*/
# define RTLD_GLOBAL 0x00100 /* symbols in this dlopen'ed obj are visible
to other dlopen'ed objs */
# define RTLD_GLOBAL 0x00004 /* symbols in this dlopen'ed obj are visible
to other dlopen'ed objs. Unused */
/**
* @def RTLD_LOCAL
* Symbols in this dlopen'ed obj are not visible to other dlopen'ed objs.
*/
# define RTLD_LOCAL 0x00008 /* symbols in this dlopen'ed obj are not visible
to other dlopen'ed objs. Unused */
/**
* @def RTLD_NODELETE

View File

@ -2,7 +2,7 @@
#include "evas_private.h"
#include "evas_native_common.h"
#ifdef HAVE_DLSYM
#if defined HAVE_DLSYM && ! defined _WIN32
# include <dlfcn.h> /* dlopen,dlclose,etc */
#else
# warning native_tbm should not get compiled if dlsym is not found on the system!