<rdar://problem/5709564> mDNSResponder is building with MACOSX_DEPLOYMENT_TARGET...
authorcheshire@apple.com <cheshire@apple.com@214c2c4a-bf3b-4dcf-9390-e4dd3010487d>
Tue, 15 Sep 2009 19:24:16 +0000 (19:24 +0000)
committercheshire@apple.com <cheshire@apple.com@214c2c4a-bf3b-4dcf-9390-e4dd3010487d>
Tue, 15 Sep 2009 19:24:16 +0000 (19:24 +0000)
Set VERSION_MIN_REQUIRED to 10.4 to avoid "bootstrap_register is deprecated" warnings from bootstrap.h

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6675 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

mDNSMacOSX/daemon.c
mDNSMacOSX/helper-main.c

index 52e918e..9807666 100644 (file)
@@ -28,6 +28,9 @@
  * layout leads people to unfortunate misunderstandings about how the C language really works.)
  */
 
+// We set VERSION_MIN_REQUIRED to 10.4 to avoid "bootstrap_register is deprecated" warnings from bootstrap.h
+#define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_4
+
 #include <mach/mach.h>
 #include <mach/mach_error.h>
 #include <servers/bootstrap.h>
index ccd3004..e74ed8d 100644 (file)
  */
 
 #define _FORTIFY_SOURCE 2
+
+// We set VERSION_MIN_REQUIRED to 10.4 to avoid "bootstrap_register is deprecated" warnings from bootstrap.h
+#define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_4
+
 #include <CoreFoundation/CoreFoundation.h>
 #include <sys/cdefs.h>
 #include <sys/time.h>