summaryrefslogtreecommitdiff
path: root/deps/gyp/test/ninja/solibs_avoid_relinking/solib.cc
blob: 0856cd4e007b2e49c2ecb015f81648aab3f30ec2 (plain)
1
2
3
4
5
6
7
8
#ifdef _MSC_VER
__declspec(dllexport)
#else
__attribute__((visibility("default")))
#endif
int foo() {
  return 42;
}