Add EAPI_MAIN definition
authorMike McCormack <mj.mccormack@samsung.com>
Wed, 9 Nov 2011 00:00:18 +0000 (09:00 +0900)
committerMike McCormack <mj.mccormack@samsung.com>
Wed, 9 Nov 2011 00:12:30 +0000 (09:12 +0900)
src/lib/Elementary.h.in

index 6e7bc45..6d3e432 100644 (file)
@@ -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