mirror of
https://github.com/znc/znc.git
synced 2026-08-08 18:03:22 +02:00
Fix visibility support
I definitely fixed this problem already when I ported the macro, so I wonder why the fix got lost... config.log says: conftest.cpp: In function 'void dummyfunc()': conftest.cpp:13:15: error: no previous declaration for 'void dummyfunc()' [-Werror=missing-declarations] Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
@@ -68,6 +68,7 @@ AC_DEFUN([ZNC_VISIBILITY],
|
||||
extern __attribute__((__visibility__("default"))) int exportedvar;
|
||||
extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
|
||||
extern __attribute__((__visibility__("default"))) int exportedfunc (void);
|
||||
void dummyfunc (void);
|
||||
void dummyfunc (void) {}]],
|
||||
[])],
|
||||
[znc_cv_cc_visibility=yes],
|
||||
|
||||
Reference in New Issue
Block a user