diff options
Diffstat (limited to 'media/webrtc/trunk/tools/gyp/test/dependencies/sharedlib-linksettings/sharedlib.c')
-rw-r--r-- | media/webrtc/trunk/tools/gyp/test/dependencies/sharedlib-linksettings/sharedlib.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/media/webrtc/trunk/tools/gyp/test/dependencies/sharedlib-linksettings/sharedlib.c b/media/webrtc/trunk/tools/gyp/test/dependencies/sharedlib-linksettings/sharedlib.c new file mode 100644 index 000000000..3199bccd6 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/dependencies/sharedlib-linksettings/sharedlib.c @@ -0,0 +1,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; +} |