/*
- * Copyright (c) 2008 Apple Inc. All rights reserved.
+ * Copyright (c) 2009 Apple Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* @APPLE_LICENSE_HEADER_END@
*/
/* CFBundle_BinaryTypes.h
- Copyright (c) 1999-2007, Apple Inc. All rights reserved.
+ Copyright (c) 1999-2009, Apple Inc. All rights reserved.
*/
#if !defined(__COREFOUNDATION_CFBUNDLE_BINARYTYPES__)
CF_EXTERN_C_BEGIN
-#if DEPLOYMENT_TARGET_MACOSX || 0
-#if !defined(DISABLE_DYLD_USAGE)
+#if DEPLOYMENT_TARGET_MACOSX
+#define BINARY_SUPPORT_DYLD 1
+#define BINARY_SUPPORT_DLFCN 1
+#define USE_DYLD_PRIV 1
+#elif DEPLOYMENT_TARGET_EMBEDDED
#define BINARY_SUPPORT_DYLD 1
-#endif
-#if !defined(DISABLE_DLFCN_USAGE)
#define BINARY_SUPPORT_DLFCN 1
+#if !defined(TARGET_IPHONE_SIMULATOR)
+#define USE_DYLD_PRIV 1
#endif
-#elif 0 || 0
+#elif DEPLOYMENT_TARGET_WINDOWS
#define BINARY_SUPPORT_DLL 1
#else
#error Unknown or unspecified DEPLOYMENT_TARGET