From ca7c98eefc7ec97c9752978cc4d714e175a4197f Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Wed, 9 Nov 2011 09:00:18 +0900 Subject: [PATCH] Add EAPI_MAIN definition --- src/lib/Elementary.h.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/Elementary.h.in b/src/lib/Elementary.h.in index 6e7bc45..6d3e432 100644 --- a/src/lib/Elementary.h.in +++ b/src/lib/Elementary.h.in @@ -414,6 +414,11 @@ contact with the developers and maintainers. # endif #endif /* ! _WIN32 */ +#ifdef _WIN32 +# define EAPI_MAIN +#else +# define EAPI_MAIN EAPI +#endif /* allow usage from c++ */ #ifdef __cplusplus -- 2.7.4