Sha256: e24420456b67093c8b55239f5ea74d56d172aeac84c67ed977fff5d4dda4f873

Contents?: true

Size: 1.09 KB

Versions: 10

Compression:

Stored size: 1.09 KB

Contents

/* 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. */

#include <Availability.h>

/* GYPTEST_MAC_VERSION_MIN: should be set to the corresponding value of
 * xcode setting 'MACOSX_DEPLOYMENT_TARGET', otherwise both should be
 * left undefined.
 *
 * GYPTEST_IOS_VERSION_MIN: should be set to the corresponding value of
 * xcode setting 'IPHONEOS_DEPLOYMENT_TARGET', otherwise both should be
 * left undefined.
 */

#if defined(GYPTEST_MAC_VERSION_MIN)
# if GYPTEST_MAC_VERSION_MIN != __MAC_OS_X_VERSION_MIN_REQUIRED
#  error __MAC_OS_X_VERSION_MIN_REQUIRED has wrong value
# endif
#elif defined(__MAC_OS_X_VERSION_MIN_REQUIRED)
# error __MAC_OS_X_VERSION_MIN_REQUIRED should be undefined
#endif

#if defined(GYPTEST_IOS_VERSION_MIN)
# if GYPTEST_IOS_VERSION_MIN != __IPHONE_OS_VERSION_MIN_REQUIRED
#  error __IPHONE_OS_VERSION_MIN_REQUIRED has wrong value
# endif
#elif defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
# error __IPHONE_OS_VERSION_MIN_REQUIRED should be undefined
#endif

int main() { return 0; }

Version data entries

10 entries across 5 versions & 2 rubygems

Version Path
mt-libuv-4.1.04 ext/gyp/test/mac/deployment-target/check-version-min.c
mt-libuv-4.1.04 ext/gyp/test/ios/deployment-target/check-version-min.c
mt-libuv-4.1.03 ext/gyp/test/ios/deployment-target/check-version-min.c
mt-libuv-4.1.03 ext/gyp/test/mac/deployment-target/check-version-min.c
mt-libuv-4.1.02 ext/gyp/test/mac/deployment-target/check-version-min.c
mt-libuv-4.1.02 ext/gyp/test/ios/deployment-target/check-version-min.c
tree-sitter-0.1.0 ext/tree-sitter/tree-sitter/externals/gyp/test/mac/deployment-target/check-version-min.c
tree-sitter-0.1.0 ext/tree-sitter/tree-sitter/externals/gyp/test/ios/deployment-target/check-version-min.c
tree-sitter-0.0.1 ext/tree-sitter/tree-sitter/externals/gyp/test/ios/deployment-target/check-version-min.c
tree-sitter-0.0.1 ext/tree-sitter/tree-sitter/externals/gyp/test/mac/deployment-target/check-version-min.c