comparison gcc/ada/adaint.h @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
4 * * 4 * *
5 * A D A I N T * 5 * A D A I N T *
6 * * 6 * *
7 * C Header File * 7 * C Header File *
8 * * 8 * *
9 * Copyright (C) 1992-2017, Free Software Foundation, Inc. * 9 * Copyright (C) 1992-2018, Free Software Foundation, Inc. *
10 * * 10 * *
11 * GNAT is free software; you can redistribute it and/or modify it under * 11 * GNAT is free software; you can redistribute it and/or modify it under *
12 * terms of the GNU General Public License as published by the Free Soft- * 12 * terms of the GNU General Public License as published by the Free Soft- *
13 * ware Foundation; either version 3, or (at your option) any later ver- * 13 * ware Foundation; either version 3, or (at your option) any later ver- *
14 * sion. GNAT is distributed in the hope that it will be useful, but WITH- * 14 * sion. GNAT is distributed in the hope that it will be useful, but WITH- *
49 49
50 /* Large file support. It is unclear what portable mechanism we can use to 50 /* Large file support. It is unclear what portable mechanism we can use to
51 determine at compile time what support the system offers for large files. 51 determine at compile time what support the system offers for large files.
52 For now we just list the platforms we have manually tested. */ 52 For now we just list the platforms we have manually tested. */
53 53
54 #if defined (__GLIBC__) || defined (__sun__) 54 #if defined (__GLIBC__) || defined (__sun__) || defined (__QNX__)
55 #define GNAT_FOPEN fopen64 55 #define GNAT_FOPEN fopen64
56 #define GNAT_OPEN open64 56 #define GNAT_OPEN open64
57 #define GNAT_STAT stat64 57 #define GNAT_STAT stat64
58 #define GNAT_FSTAT fstat64 58 #define GNAT_FSTAT fstat64
59 #define GNAT_LSTAT lstat64 59 #define GNAT_LSTAT lstat64