forked from enlightenment/efl
efreet: fix compilation on Windows.
This commit is contained in:
parent
7a5bdf4673
commit
b4becd5d7a
|
@ -19,7 +19,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
# ifdef EFL_EFREET_MIME_BUILD
|
# ifdef EFL_EFREET_BUILD
|
||||||
# ifdef DLL_EXPORT
|
# ifdef DLL_EXPORT
|
||||||
# define EAPI __declspec(dllexport)
|
# define EAPI __declspec(dllexport)
|
||||||
# else
|
# else
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
# ifdef EFL_EFREET_TRASH_BUILD
|
# ifdef EFL_EFREET_BUILD
|
||||||
# ifdef DLL_EXPORT
|
# ifdef DLL_EXPORT
|
||||||
# define EAPI __declspec(dllexport)
|
# define EAPI __declspec(dllexport)
|
||||||
# else
|
# else
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
# include <winsock2.h>
|
# include <winsock2.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <Ecore_File.h>
|
||||||
|
|
||||||
/* define macros and variable for using the eina logging system */
|
/* define macros and variable for using the eina logging system */
|
||||||
#define EFREET_MODULE_LOG_DOM _efreet_base_log_dom
|
#define EFREET_MODULE_LOG_DOM _efreet_base_log_dom
|
||||||
static int _efreet_base_log_dom = -1;
|
static int _efreet_base_log_dom = -1;
|
||||||
|
@ -16,8 +18,6 @@ static int _efreet_base_log_dom = -1;
|
||||||
#include "Efreet.h"
|
#include "Efreet.h"
|
||||||
#include "efreet_private.h"
|
#include "efreet_private.h"
|
||||||
|
|
||||||
#include <Ecore_File.h>
|
|
||||||
|
|
||||||
static Efreet_Version _version = { VMAJ, VMIN, VMIC, VREV };
|
static Efreet_Version _version = { VMAJ, VMIN, VMIC, VREV };
|
||||||
EAPI Efreet_Version *efreet_version = &_version;
|
EAPI Efreet_Version *efreet_version = &_version;
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,14 @@
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
#include <fnmatch.h>
|
#include <fnmatch.h>
|
||||||
#include <netinet/in.h>
|
|
||||||
#include <arpa/inet.h>
|
#ifdef HAVE_NETINET_IN_H
|
||||||
|
# include <netinet/in.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_ARPA_INET_H
|
||||||
|
# include <arpa/inet.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
# include <winsock2.h>
|
# include <winsock2.h>
|
||||||
|
|
Loading…
Reference in New Issue