[asterisk-commits] tilghman: trunk r276870 - /trunk/tests/test_utils.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jul 15 23:23:06 CDT 2010


Author: tilghman
Date: Thu Jul 15 23:23:02 2010
New Revision: 276870

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=276870
Log:
Fix trunk build for Mac OS X 10.6

Modified:
    trunk/tests/test_utils.c

Modified: trunk/tests/test_utils.c
URL: http://svnview.digium.com/svn/asterisk/trunk/tests/test_utils.c?view=diff&rev=276870&r1=276869&r2=276870
==============================================================================
--- trunk/tests/test_utils.c (original)
+++ trunk/tests/test_utils.c Thu Jul 15 23:23:02 2010
@@ -256,9 +256,11 @@
 	ast_test_status_update(test,
 			       "address of __stub__ast_crypto_loaded is %p\n",
 			       __stub__ast_crypto_loaded);
+#ifndef HAVE_ATTRIBUTE_weak_import
 	ast_test_status_update(test,
 			       "address of __ref__ast_crypto_loaded is %p\n",
 			       __ref__ast_crypto_loaded);
+#endif
 	ast_test_status_update(test,
 			       "pointer to ast_crypto_loaded is %p\n",
 			       ast_crypto_loaded);
@@ -309,9 +311,11 @@
 	ast_test_status_update(test,
 			       "address of __stub__ast_agi_register is %p\n",
 			       __stub__ast_agi_register);
+#ifndef HAVE_ATTRIBUTE_weak_import
 	ast_test_status_update(test,
 			       "address of __ref__ast_agi_register is %p\n",
 			       __ref__ast_agi_register);
+#endif
 	ast_test_status_update(test,
 			       "pointer to ast_agi_register is %p\n",
 			       ast_agi_register);




More information about the asterisk-commits mailing list