File: config.nextrt.m

package info (click to toggle)
gnustep-base 1.24.7-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 24,176 kB
  • ctags: 5,535
  • sloc: objc: 966,973; ansic: 31,274; makefile: 317; cpp: 110; sh: 102; xml: 28
file content (18 lines) | stat: -rw-r--r-- 357 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* A function for testing if the compiler is using the NeXT Objective C
   runtime or not.

   With the NeXT runtime this file compiles and links.
   With the GNU runtime, this file does not link.
*/

#include "objc-common.g"

int libobjects_nextrt_checker ()
{
  id o = [[Object alloc] init];

  [o self];
  objc_msgSend(o, @selector(self));

  exit(0);
}