Last change
on this file since 3857 was 3845, checked in by Bruno Cornec, 5 months ago |
Fix compiler warnings for FILE handling
|
-
Property svn:eol-style
set to
native
|
File size:
444 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * $Id$
|
---|
3 | *
|
---|
4 | * Header file of mr_std: a set of function to support GNU89/C11 standards
|
---|
5 | * Provided under the GPL v2
|
---|
6 | */
|
---|
7 |
|
---|
8 | #ifndef MR_STD_H
|
---|
9 | #define MR_STD_H
|
---|
10 |
|
---|
11 | #ifndef _GNU_SOURCE
|
---|
12 | #define _GNU_SOURCE
|
---|
13 | #endif
|
---|
14 |
|
---|
15 | // To get the interesting variables use gcc -dM -E - < /dev/null
|
---|
16 |
|
---|
17 | #if __GNUC__ > 4
|
---|
18 | // C99 gcc 5+
|
---|
19 | #define MR_EXTERN extern
|
---|
20 | #else
|
---|
21 | // GNU89 previous version of gcc
|
---|
22 | #define MR_EXTERN extern inline
|
---|
23 | #endif
|
---|
24 |
|
---|
25 | #endif /* MR_STD_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.