summaryrefslogtreecommitdiff
path: root/deps/gyp/test/dependencies/sharedlib-linksettings/sharedlib.c
blob: 3199bccd6654078e2a1f5da5aa937482388c8548 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Copyright (c) 2013 Google Inc. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifdef _WIN32
__declspec(dllexport)
#endif
int sharedLibFunc() {
  /*
   * This will fail to compile if TEST_DEFINE was not obtained from sharedlib's
   * link_settings.
   */
  return TEST_DEFINE;
}