diff options
author | Andy Dougherty <doughera@lafayette.edu> | 2010-09-23 11:55:28 -0400 |
---|---|---|
committer | Andy Dougherty <doughera@lafayette.edu> | 2010-09-23 11:55:28 -0400 |
commit | 81e44c99a10c05afb5c836d6cb175621e30a5b95 (patch) | |
tree | 3ebc739f961c83c22d7a47752e5f3c591555b80c /win32 | |
parent | e8936beceb8bb3ad22fdb9ba3cb1882675d04eed (diff) | |
download | perl-81e44c99a10c05afb5c836d6cb175621e30a5b95.tar.gz |
Update canned win32/config_H.* files with static inline values
to match the canned win32/config.* settings. For .bc and
.ce, we still have a plain 'static'. Better settings from
knowledgeable users about those platforms would be welcome.
Diffstat (limited to 'win32')
-rw-r--r-- | win32/config_H.bc | 21 | ||||
-rw-r--r-- | win32/config_H.ce | 21 | ||||
-rw-r--r-- | win32/config_H.gc | 26 | ||||
-rw-r--r-- | win32/config_H.gc64 | 26 | ||||
-rw-r--r-- | win32/config_H.gc64nox | 26 | ||||
-rw-r--r-- | win32/config_H.vc | 26 | ||||
-rw-r--r-- | win32/config_H.vc64 | 26 |
7 files changed, 172 insertions, 0 deletions
diff --git a/win32/config_H.bc b/win32/config_H.bc index 6fa463c4ae..75213d7442 100644 --- a/win32/config_H.bc +++ b/win32/config_H.bc @@ -3086,6 +3086,27 @@ #define Siglongjmp(buf,retval) longjmp((buf),(retval)) #endif +/* HAS_STATIC_INLINE: + * This symbol, if defined, indicates that the C compiler supports + * C99-style static inline. That is, the function can't be called + * from another translation unit. + */ +/* PERL_STATIC_INLINE: + * This symbol gives the best-guess incantation to use for static + * inline functions. If HAS_STATIC_INLINE is defined, this will + * give C99-style inline. If HAS_STATIC_INLINE is not defined, + * this will give a plain 'static'. It will always be defined + * to something that gives static linkage. + * Possibilities include + * static inline (c99) + * static __inline__ (gcc -ansi) + * static __inline (MSVC) + * static _inline (older MSVC) + * static (c89 compilers) + */ +/*#define HAS_STATIC_INLINE / **/ +#define PERL_STATIC_INLINE static /**/ + /* USE_STDIO_PTR: * This symbol is defined if the _ptr and _cnt fields (or similar) * of the stdio FILE structure can be used to access the stdio buffer diff --git a/win32/config_H.ce b/win32/config_H.ce index 90d4f404e1..b417ea6ca5 100644 --- a/win32/config_H.ce +++ b/win32/config_H.ce @@ -2304,6 +2304,27 @@ #define Siglongjmp(buf,retval) longjmp((buf),(retval)) #endif +/* HAS_STATIC_INLINE: + * This symbol, if defined, indicates that the C compiler supports + * C99-style static inline. That is, the function can't be called + * from another translation unit. + */ +/* PERL_STATIC_INLINE: + * This symbol gives the best-guess incantation to use for static + * inline functions. If HAS_STATIC_INLINE is defined, this will + * give C99-style inline. If HAS_STATIC_INLINE is not defined, + * this will give a plain 'static'. It will always be defined + * to something that gives static linkage. + * Possibilities include + * static inline (c99) + * static __inline__ (gcc -ansi) + * static __inline (MSVC) + * static _inline (older MSVC) + * static (c89 compilers) + */ +/*#define HAS_STATIC_INLINE / **/ +#define PERL_STATIC_INLINE static /**/ + /* USE_SITECUSTOMIZE: * This symbol, if defined, indicates that sitecustomize should * be used. diff --git a/win32/config_H.gc b/win32/config_H.gc index a050b89e86..fbf580824e 100644 --- a/win32/config_H.gc +++ b/win32/config_H.gc @@ -3110,6 +3110,32 @@ #define Siglongjmp(buf,retval) longjmp((buf),(retval)) #endif +/* HAS_STATIC_INLINE: + * This symbol, if defined, indicates that the C compiler supports + * C99-style static inline. That is, the function can't be called + * from another translation unit. + */ +/* PERL_STATIC_INLINE: + * This symbol gives the best-guess incantation to use for static + * inline functions. If HAS_STATIC_INLINE is defined, this will + * give C99-style inline. If HAS_STATIC_INLINE is not defined, + * this will give a plain 'static'. It will always be defined + * to something that gives static linkage. + * Possibilities include + * static inline (c99) + * static __inline__ (gcc -ansi) + * static __inline (MSVC) + * static _inline (older MSVC) + * static (c89 compilers) + */ +#ifdef _MSC_VER +# define HAS_STATIC_INLINE /**/ +# define PERL_STATIC_INLINE static __inline /**/ +#else /* gcc presumably */ +# define HAS_STATIC_INLINE /**/ +# define PERL_STATIC_INLINE static __inline__ /**/ +#endif + /* USE_STDIO_PTR: * This symbol is defined if the _ptr and _cnt fields (or similar) * of the stdio FILE structure can be used to access the stdio buffer diff --git a/win32/config_H.gc64 b/win32/config_H.gc64 index 24e5d8f02b..9cce9fb217 100644 --- a/win32/config_H.gc64 +++ b/win32/config_H.gc64 @@ -3116,6 +3116,32 @@ #define Siglongjmp(buf,retval) longjmp((buf),(retval)) #endif +/* HAS_STATIC_INLINE: + * This symbol, if defined, indicates that the C compiler supports + * C99-style static inline. That is, the function can't be called + * from another translation unit. + */ +/* PERL_STATIC_INLINE: + * This symbol gives the best-guess incantation to use for static + * inline functions. If HAS_STATIC_INLINE is defined, this will + * give C99-style inline. If HAS_STATIC_INLINE is not defined, + * this will give a plain 'static'. It will always be defined + * to something that gives static linkage. + * Possibilities include + * static inline (c99) + * static __inline__ (gcc -ansi) + * static __inline (MSVC) + * static _inline (older MSVC) + * static (c89 compilers) + */ +#ifdef _MSC_VER +# define HAS_STATIC_INLINE /**/ +# define PERL_STATIC_INLINE static __inline /**/ +#else /* gcc presumably */ +# define HAS_STATIC_INLINE /**/ +# define PERL_STATIC_INLINE static __inline__ /**/ +#endif + /* USE_STDIO_PTR: * This symbol is defined if the _ptr and _cnt fields (or similar) * of the stdio FILE structure can be used to access the stdio buffer diff --git a/win32/config_H.gc64nox b/win32/config_H.gc64nox index 6f528b53c5..89962a5dc6 100644 --- a/win32/config_H.gc64nox +++ b/win32/config_H.gc64nox @@ -3116,6 +3116,32 @@ #define Siglongjmp(buf,retval) longjmp((buf),(retval)) #endif +/* HAS_STATIC_INLINE: + * This symbol, if defined, indicates that the C compiler supports + * C99-style static inline. That is, the function can't be called + * from another translation unit. + */ +/* PERL_STATIC_INLINE: + * This symbol gives the best-guess incantation to use for static + * inline functions. If HAS_STATIC_INLINE is defined, this will + * give C99-style inline. If HAS_STATIC_INLINE is not defined, + * this will give a plain 'static'. It will always be defined + * to something that gives static linkage. + * Possibilities include + * static inline (c99) + * static __inline__ (gcc -ansi) + * static __inline (MSVC) + * static _inline (older MSVC) + * static (c89 compilers) + */ +#ifdef _MSC_VER +# define HAS_STATIC_INLINE /**/ +# define PERL_STATIC_INLINE static __inline /**/ +#else /* gcc presumably */ +# define HAS_STATIC_INLINE /**/ +# define PERL_STATIC_INLINE static __inline__ /**/ +#endif + /* USE_STDIO_PTR: * This symbol is defined if the _ptr and _cnt fields (or similar) * of the stdio FILE structure can be used to access the stdio buffer diff --git a/win32/config_H.vc b/win32/config_H.vc index a6e4c0e012..c19a201f52 100644 --- a/win32/config_H.vc +++ b/win32/config_H.vc @@ -3104,6 +3104,32 @@ #define Siglongjmp(buf,retval) longjmp((buf),(retval)) #endif +/* HAS_STATIC_INLINE: + * This symbol, if defined, indicates that the C compiler supports + * C99-style static inline. That is, the function can't be called + * from another translation unit. + */ +/* PERL_STATIC_INLINE: + * This symbol gives the best-guess incantation to use for static + * inline functions. If HAS_STATIC_INLINE is defined, this will + * give C99-style inline. If HAS_STATIC_INLINE is not defined, + * this will give a plain 'static'. It will always be defined + * to something that gives static linkage. + * Possibilities include + * static inline (c99) + * static __inline__ (gcc -ansi) + * static __inline (MSVC) + * static _inline (older MSVC) + * static (c89 compilers) + */ +#ifdef _MSC_VER +# define HAS_STATIC_INLINE /**/ +# define PERL_STATIC_INLINE static __inline /**/ +#else /* gcc presumably */ +# define HAS_STATIC_INLINE /**/ +# define PERL_STATIC_INLINE static __inline__ /**/ +#endif + /* USE_STDIO_PTR: * This symbol is defined if the _ptr and _cnt fields (or similar) * of the stdio FILE structure can be used to access the stdio buffer diff --git a/win32/config_H.vc64 b/win32/config_H.vc64 index 5f2dbd1e68..5ac2c216bc 100644 --- a/win32/config_H.vc64 +++ b/win32/config_H.vc64 @@ -3086,6 +3086,32 @@ #define Siglongjmp(buf,retval) longjmp((buf),(retval)) #endif +/* HAS_STATIC_INLINE: + * This symbol, if defined, indicates that the C compiler supports + * C99-style static inline. That is, the function can't be called + * from another translation unit. + */ +/* PERL_STATIC_INLINE: + * This symbol gives the best-guess incantation to use for static + * inline functions. If HAS_STATIC_INLINE is defined, this will + * give C99-style inline. If HAS_STATIC_INLINE is not defined, + * this will give a plain 'static'. It will always be defined + * to something that gives static linkage. + * Possibilities include + * static inline (c99) + * static __inline__ (gcc -ansi) + * static __inline (MSVC) + * static _inline (older MSVC) + * static (c89 compilers) + */ +#ifdef _MSC_VER +# define HAS_STATIC_INLINE /**/ +# define PERL_STATIC_INLINE static __inline /**/ +#else /* gcc presumably */ +# define HAS_STATIC_INLINE /**/ +# define PERL_STATIC_INLINE static __inline__ /**/ +#endif + /* USE_STDIO_PTR: * This symbol is defined if the _ptr and _cnt fields (or similar) * of the stdio FILE structure can be used to access the stdio buffer |