]> git.saurik.com Git - apple/dyld.git/blobdiff - unit-tests/test-cases/dyld-launched-prebound/main.c
dyld-353.2.1.tar.gz
[apple/dyld.git] / unit-tests / test-cases / dyld-launched-prebound / main.c
index b4bf269763af58ac2d477bcad2bb94dadeab5800..aa6ab80e8c156f2253e475ddd974a58805024288 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2005 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2005-2009 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
 #include <stdio.h>  // fprintf(), NULL
 #include <stdlib.h> // exit(), EXIT_SUCCESS
 #include <mach-o/dyld.h>
+#include <Availability.h>
 
 #include "test.h" // PASS(), FAIL(), XPASS(), XFAIL()
 
 int
-main(int argc, char **argv, char **envp, char**appl)
+main(int argc, const char* argv[])
 {
+#if __MAC_OS_X_VERSION_MIN_REQUIRED
   _dyld_launched_prebound();
+#endif
   return EXIT_SUCCESS;
 }