fix tests for C++ linkage

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32720 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2011-03-28 13:42:01 +00:00
parent 894464b3fd
commit 4d1df68a49
3 changed files with 20 additions and 1 deletions

View file

@ -35,6 +35,9 @@
* best to use the current API.
*/
#if defined(__cplusplus)
extern "C" {
#endif
@ -77,7 +80,6 @@
/* Functions to test basic capabilities expected of most classes.
*/
static void test_NSMutableCopying(NSString *iClassName,
@ -429,3 +431,7 @@ static void test_NSMutableCopying(NSString *iClassName,
}
}
#if defined(__cplusplus)
}
#endif