File: threadlibs.c

package info (click to toggle)
libgc4 4.12-4.13alpha1-2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 1,320 kB
  • ctags: 3,801
  • sloc: ansic: 17,012; cpp: 575; makefile: 331; asm: 264; sh: 11
file content (14 lines) | stat: -rw-r--r-- 200 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# include "config.h"
# include <stdio.h>

int main()
{
#   ifdef IRIX_THREADS
	printf("-lpthread\n");
#   endif
#   ifdef SOLARIS_THREADS
        printf("-lthread -ldl\n");
#   endif
    return 0;
}