File: __private_extern__

package info (click to toggle)
libdispatch 0~svn188-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 3,448 kB
  • ctags: 1,652
  • sloc: sh: 10,139; ansic: 8,999; makefile: 229; objc: 37; cpp: 14
file content (17 lines) | stat: -rw-r--r-- 711 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: define __private_extern__
 For some reason, autoconf doesn't define this properly. This is a quick
 fix to get the build working.
Author: Mark Heily <mark@heily.com>

Index: libdispatch-0.1/configure.ac
===================================================================
--- libdispatch-0.1.orig/configure.ac	2010-07-01 23:32:36.000000000 -0400
+++ libdispatch-0.1/configure.ac	2010-07-01 23:34:15.000000000 -0400
@@ -174,6 +174,7 @@
 AM_CONDITIONAL(USE_MIG, $have_mach)
 
 AC_DEFINE(HAVE_PTHREAD_WORKQUEUES, 1,Define if pthread work queues are present)
+AC_DEFINE([__private_extern__], [__attribute__ ((visibility("hidden")))], "workaround")
 
 #
 # Find functions and declarations we care about.