edje: fix epp compilation on Windows.

This commit is contained in:
Cedric Bail 2013-03-15 11:00:19 +01:00
parent 8866220a6d
commit 69b5868005
3 changed files with 12 additions and 1 deletions

View File

@ -184,6 +184,9 @@ $(CWARNFLAGS) \
-DTARGET_CR=13 \ -DTARGET_CR=13 \
-DTARGET_TAB=9 \ -DTARGET_TAB=9 \
-DTARGET_VT=11 -DTARGET_VT=11
if HAVE_WIN32
bin_edje_epp_epp_LDADD = lib/evil/libevil.la
endif
# TODO: why keep these? # TODO: why keep these?
EXTRA_DIST += \ EXTRA_DIST += \

View File

@ -45,6 +45,12 @@
#include "cpplib.h" #include "cpplib.h"
#include "cpphash.h" #include "cpphash.h"
#ifdef _WIN32
# ifdef ERROR
# undef ERROR
# endif
#endif
/* This is used for communicating lists of keywords with cccp.c. */ /* This is used for communicating lists of keywords with cccp.c. */
struct arglist { struct arglist {
struct arglist *next; struct arglist *next;

View File

@ -79,7 +79,9 @@ const char *version_string = "0.0.0";
#ifndef USG #ifndef USG
#include <time.h> #include <time.h>
#include <sys/time.h> /* for __DATE__ and __TIME__ */ #include <sys/time.h> /* for __DATE__ and __TIME__ */
#include <sys/resource.h> #ifdef HAVE_SYS_RESOURCE_H
# include <sys/resource.h>
#endif
#else #else
#include <sys/param.h> /* CYGNUS LOCAL: shebs -noquiet */ #include <sys/param.h> /* CYGNUS LOCAL: shebs -noquiet */
#include <sys/times.h> #include <sys/times.h>