1: /* sys/cdefs.h 2: 3: Copyright 1998, 2000, 2001 Red Hat, Inc. 4: 5: This file is part of Cygwin. 6: 7: This software is a copyrighted work licensed under the terms of the 8: Cygwin license. Please consult the file "CYGWIN_LICENSE" for 9: details. */ 10: 11: #ifndef _SYS_CDEFS_H 12: #define _SYS_CDEFS_H 13: #ifdef __cplusplus 14: #define __BEGIN_DECLS extern "C" { 15: #define __END_DECLS } 16: #else 17: #define __BEGIN_DECLS 18: #define __END_DECLS 19: #endif 20: #define __P(protos) protos /* full-blown ANSI C */ 21: #endif 22: 23: