File: /usr/include/sys/_posix_availability.h

Green shading in the line number column means the source is part of the translation unit, red means it is conditionally excluded. Highlighted line numbers link to the translation unit page. Highlighted macros link to the macro page.

       1: /* Copyright (c) 2010 Apple Inc. All rights reserved.
       2:  * 
       3:  * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
       4:  * 
       5:  * This file contains Original Code and/or Modifications of Original Code
       6:  * as defined in and that are subject to the Apple Public Source License
       7:  * Version 2.0 (the 'License'). You may not use this file except in
       8:  * compliance with the License. The rights granted to you under the License
       9:  * may not be used to create, or enable the creation or redistribution of,
      10:  * unlawful or unlicensed copies of an Apple operating system, or to
      11:  * circumvent, violate, or enable the circumvention or violation of, any
      12:  * terms of an Apple operating system software license agreement.
      13:  * 
      14:  * Please obtain a copy of the License at
      15:  * http://www.opensource.apple.com/apsl/ and read it before using this file.
      16:  * 
      17:  * The Original Code and all software distributed under the License are
      18:  * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
      19:  * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
      20:  * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
      21:  * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
      22:  * Please see the License for the specific language governing rights and
      23:  * limitations under the License.
      24:  * 
      25:  * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
      26:  */
      27: 
      28: #ifndef _CDEFS_H_
      29: # error "Never use <sys/_posix_availability.h> directly.  Use <sys/cdefs.h> instead."
      30: #endif
      31: 
      32: #if !defined(_DARWIN_C_SOURCE) && defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 198808L
      33: #define ___POSIX_C_DEPRECATED_STARTING_198808L __deprecated
      34: #else
      35: #define ___POSIX_C_DEPRECATED_STARTING_198808L
      36: #endif
      37: 
      38: #if !defined(_DARWIN_C_SOURCE) && defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 199009L
      39: #define ___POSIX_C_DEPRECATED_STARTING_199009L __deprecated
      40: #else
      41: #define ___POSIX_C_DEPRECATED_STARTING_199009L
      42: #endif
      43: 
      44: #if !defined(_DARWIN_C_SOURCE) && defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 199209L
      45: #define ___POSIX_C_DEPRECATED_STARTING_199209L __deprecated
      46: #else
      47: #define ___POSIX_C_DEPRECATED_STARTING_199209L
      48: #endif
      49: 
      50: #if !defined(_DARWIN_C_SOURCE) && defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 199309L
      51: #define ___POSIX_C_DEPRECATED_STARTING_199309L __deprecated
      52: #else
      53: #define ___POSIX_C_DEPRECATED_STARTING_199309L
      54: #endif
      55: 
      56: #if !defined(_DARWIN_C_SOURCE) && defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 199506L
      57: #define ___POSIX_C_DEPRECATED_STARTING_199506L __deprecated
      58: #else
      59: #define ___POSIX_C_DEPRECATED_STARTING_199506L
      60: #endif
      61: 
      62: #if !defined(_DARWIN_C_SOURCE) && defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 200112L
      63: #define ___POSIX_C_DEPRECATED_STARTING_200112L __deprecated
      64: #else
      65: #define ___POSIX_C_DEPRECATED_STARTING_200112L
      66: #endif
      67: 
      68: #if !defined(_DARWIN_C_SOURCE) && defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 200809L
      69: #define ___POSIX_C_DEPRECATED_STARTING_200809L __deprecated
      70: #else
      71: #define ___POSIX_C_DEPRECATED_STARTING_200809L
      72: #endif
      73: 
      74: