summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean@guyomarch.bzh>2017-05-22 19:39:10 +0200
committerJean Guyomarc'h <jean@guyomarch.bzh>2017-05-22 19:39:10 +0200
commitcc4e101ba1511e0c5b57654f05139f0a51f4e00d (patch)
tree80927eba46498de3b908905c274a993f136c8d0c
parenta6d9d3119e1a924b7c5ad3469fa7d9f73c67af58 (diff)
downloadefl-cc4e101ba1511e0c5b57654f05139f0a51f4e00d.tar.gz
elementary: fix global declaration
Don't DEFINE a global in a header, DECLARE it instead! This fixes link on macOS.
-rw-r--r--src/lib/elementary/elm_cnp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_cnp.h b/src/lib/elementary/elm_cnp.h
index 1c92f1195f..e48fe64c32 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.