From: Vincent Torri Date: Fri, 25 Jun 2010 11:56:02 +0000 (+0000) Subject: elm_cnp_helper.c is for X11 stuff only X-Git-Tag: v1.0.0~4510 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c5a326bea0541fb4b16d623b70df122c5821286a;p=platform%2Fupstream%2Felementary.git elm_cnp_helper.c is for X11 stuff only SVN revision: 49864 --- diff --git a/src/lib/elm_cnp_helper.c b/src/lib/elm_cnp_helper.c index b8bc27689..96ee17a0b 100644 --- a/src/lib/elm_cnp_helper.c +++ b/src/lib/elm_cnp_helper.c @@ -1,23 +1,18 @@ - #include #include // debug -#include -#include - #include -#include #include "elm_priv.h" +#ifdef HAVE_ELEMENTARY_X + +# include +# include -/* this should be #ifdef 12year old compiler */ -#ifdef ELM_WIN32 -# define ARRAYINIT(foo) -#else -# define ARRAYINIT(foo) [foo]= -#endif + +# define ARRAYINIT(foo) [foo]= enum { @@ -498,3 +493,5 @@ mark_up(const char *start, int *lenp){ } /* vim: set ts=8 sw=3 sts=8 noexpandtab cino=>5n-3f0^-2{2 : */ + +#endif