Fix 22_locale/locale/cons/12658_thread-2.cc on hppa.
[official-gcc.git] / fixincludes / tests / base / fcntl.h
blobfe0e56a99f80c8fb9b5b5e9da8208c119d764be1
1 /* DO NOT EDIT THIS FILE.
3 It has been auto-edited by fixincludes from:
5 "fixinc/tests/inc/fcntl.h"
7 This had to be done to correct non-standard usages in the
8 original, manufacturer supplied header file. */
10 #ifndef FIXINC_WRAP_FCNTL_H_AIX_EXTERNC
11 #define FIXINC_WRAP_FCNTL_H_AIX_EXTERNC 1
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
18 #if defined( AAB_AIX_FCNTL_CHECK )
20 #endif /* AAB_AIX_FCNTL_CHECK */
23 #if defined( VXWORKS_POSIX_OPEN_CHECK )
24 extern int open (const char *, int, int);
26 #if defined(__cplusplus)
27 extern "C++" {
28 inline int open (const char *, int) __attribute__((__always_inline__));
30 inline int
31 open (const char *name, int flags)
33 return open (name, flags, 0);
36 #endif
38 extern int open (const char *name, int flags, int mode );
40 #if defined(__cplusplus)
41 extern "C++" {
42 inline int open (const char *, int) __attribute__((__always_inline__));
44 inline int
45 open (const char *name, int flags)
47 return open (name, flags, 0);
50 #endif
53 #endif /* VXWORKS_POSIX_OPEN_CHECK */
54 #ifdef __cplusplus
56 #endif
58 #endif /* FIXINC_WRAP_FCNTL_H_AIX_EXTERNC */