jayji pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=cc4e101ba1511e0c5b57654f05139f0a51f4e00d

commit cc4e101ba1511e0c5b57654f05139f0a51f4e00d
Author: Jean Guyomarc'h <j...@guyomarch.bzh>
Date:   Mon May 22 19:39:10 2017 +0200

    elementary: fix global declaration
    
    Don't DEFINE a global in a header, DECLARE it instead!
    This fixes link on macOS.
---
 src/lib/elementary/elm_cnp.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elementary/elm_cnp.h b/src/lib/elementary/elm_cnp.h
index 1c92f11..e48fe64 100644
--- a/src/lib/elementary/elm_cnp.h
+++ b/src/lib/elementary/elm_cnp.h
@@ -48,7 +48,7 @@
  * @see Elm_Cnp_Event_Selection_Changed
  * @since 1.20
  */
-EAPI int ELM_CNP_EVENT_SELECTION_CHANGED;
+EAPI extern int ELM_CNP_EVENT_SELECTION_CHANGED;
 
 /**
  * Defines the types of selection property names.

-- 


Reply via email to