|
Last change
on this file since 3822 was 3708, checked in by Bruno Cornec, 8 years ago |
|
daptation for gcc 5 (inline funcs mngt)
|
-
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 qupport 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.