aboutsummaryrefslogtreecommitdiff
path: root/test cases/common/195 static threads/lib1.c
blob: 1aa786c668f9db0f4fd49be2bd3e615142aa71cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#if defined _WIN32
#include<windows.h>
#else
#include<pthread.h>
#endif

void *f(void) {
#if defined _WIN32
  return CreateThread;
#else
  return pthread_create;
#endif
}